cppOpenCD

UseCase1



*operation* int cppOpenCD (char* fileName)  	
*traverse* //not necessary *from* Graph //not necessary *to-stop* Graph //not necessary
*wrapper* Graph *prefix* // parse the graph object, check its syntax (@ // return 0 if g_parse finds error in demeterinput if ((Graph*) this -> g_parse(fileName) == NULL ) return_val = 0; else { //if input is correct, this -> cppDrawEdges(); //draw edges, this -> cppDrawVertices(); //draw vertices return_val = 1; //return 1 if no g_parse error } @)