Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

ogdf::dot::Ast::AttrStmt Struct Reference

#include <ogdf/fileformats/DotParser.h>

+ Inheritance diagram for ogdf::dot::Ast::AttrStmt:

Public Types

enum  Type { Type::graph, Type::edge, Type::node }
 

Public Member Functions

 AttrStmt (const Type &paramType, AttrList *attrList)
 
 ~AttrStmt ()
 
virtual bool read (Parser &P, ogdf::Graph &G, GraphAttributes *GA, ClusterGraph *C, ClusterGraphAttributes *CA, const SubgraphData &data) override
 
- Public Member Functions inherited from ogdf::dot::Ast::Stmt
virtual ~Stmt ()=0
 

Public Attributes

AttrListattrs
 
Type type
 

Detailed Description

Definition at line 278 of file DotParser.h.

Member Enumeration Documentation

◆ Type

Enumerator
graph 
edge 
node 

Definition at line 279 of file DotParser.h.

Constructor & Destructor Documentation

◆ AttrStmt()

ogdf::dot::Ast::AttrStmt::AttrStmt ( const Type paramType,
AttrList attrList 
)

◆ ~AttrStmt()

ogdf::dot::Ast::AttrStmt::~AttrStmt ( )

Member Function Documentation

◆ read()

virtual bool ogdf::dot::Ast::AttrStmt::read ( Parser P,
ogdf::Graph G,
GraphAttributes GA,
ClusterGraph C,
ClusterGraphAttributes CA,
const SubgraphData data 
)
overridevirtual

Implements ogdf::dot::Ast::Stmt.

Member Data Documentation

◆ attrs

AttrList* ogdf::dot::Ast::AttrStmt::attrs

Definition at line 282 of file DotParser.h.

◆ type

Type ogdf::dot::Ast::AttrStmt::type

Definition at line 281 of file DotParser.h.


The documentation for this struct was generated from the following file: