60 static inline void toUpper(std::string &str) {
61 std::transform(str.begin(), str.end(), str.begin(), toupper);
64 static inline void toLower(std::string &str) {
65 std::transform(str.begin(), str.end(), str.begin(), tolower);
69 return 0 < vid && vid < static_cast<int>(m_nodeId.size());
74 const std::string &label);
88 const std::string &lhs,
const std::string &rhs);
enum ogdf::DLParser::Format m_format
bool readWithLabels(Graph &G, GraphAttributes *GA)
std::map< std::string, node > m_nodeLabel
Declaration of class GraphAttributes which extends a Graph by additional attributes.
static void toUpper(std::string &str)
bool readEmbeddedMatrix(Graph &G, GraphAttributes *GA)
std::vector< node > m_nodeId
Data type for general directed graphs (adjacency list representation).
node requestLabel(GraphAttributes *GA, node &nextFree, const std::string &label)
DLParser(std::istream &is)
bool readGraph(Graph &G, GraphAttributes *GA)
bool readAssignment(Graph &G, const std::string &lhs, const std::string &rhs)
static void toLower(std::string &str)
bool readEmbeddedNodeList(Graph &G, GraphAttributes *GA)
Stores additional attributes of a graph (like layout information).
Class for the representation of nodes.
bool readEmbeddedEdgeList(Graph &G, GraphAttributes *GA)
bool read(Graph &G, GraphAttributes &GA)
Includes declaration of graph class.
bool readData(Graph &G, GraphAttributes *GA)
The namespace for all OGDF objects.
bool readNodeList(Graph &G)
bool readStatements(Graph &G, GraphAttributes *GA)
bool readEdgeList(Graph &G, GraphAttributes *GA)
bool readMatrix(Graph &G, GraphAttributes *GA)