#include <DotFile.h>
Inheritance diagram for DotObjectAttribute:

Public Member Functions | |
| DotObjectAttribute (void) | |
| virtual | ~DotObjectAttribute (void) |
| virtual std::string | getValue (void) |
| void | setMaxPropertySize (unsigned int maxPropertySize) |
| void | setMaxPropertyWidth (unsigned int maxPropertyWidth) |
| void | setObjectName (std::string name) |
| void | addProperty (std::string name, std::string value) |
| void | addPropertyDef (std::string name, std::string type) |
| std::string | getDisplayWidth (float fixedPitch=-1.0) |
| void | setFontSize (float fontSize) |
Protected Member Functions | |
| void | addPropertyValueOrDef (std::string name, std::string typeOrValue, bool isValue) |
| std::string | escapeString (std::string value) |
Protected Attributes | |
| std::string | _name |
| std::vector< std::string > | _properties |
| unsigned int | _maxPropertySize |
| unsigned int | _maxPropertyWidth |
| unsigned int | _len |
| float | _fontSize |
| DotObjectAttribute | ( | void | ) |
| ~DotObjectAttribute | ( | void | ) | [virtual] |
| string getValue | ( | void | ) | [virtual] |
Reimplemented from DotAttribute.
| void setMaxPropertySize | ( | unsigned int | maxPropertySize | ) |
| void setMaxPropertyWidth | ( | unsigned int | maxPropertyWidth | ) |
| void setObjectName | ( | std::string | name | ) |
| void addProperty | ( | std::string | name, | |
| std::string | value | |||
| ) |
| void addPropertyDef | ( | std::string | name, | |
| std::string | type | |||
| ) |
| string getDisplayWidth | ( | float | fixedPitch = -1.0 |
) |
| void setFontSize | ( | float | fontSize | ) |
| void addPropertyValueOrDef | ( | std::string | name, | |
| std::string | typeOrValue, | |||
| bool | isValue | |||
| ) | [protected] |
| std::string escapeString | ( | std::string | value | ) | [protected] |
std::string _name [protected] |
std::vector<std::string> _properties [protected] |
unsigned int _maxPropertySize [protected] |
unsigned int _maxPropertyWidth [protected] |
unsigned int _len [protected] |
float _fontSize [protected] |
1.5.1-p1