DotObjectAttribute Class Reference

#include <DotFile.h>

Inheritance diagram for DotObjectAttribute:

DotAttribute List of all members.

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

Constructor & Destructor Documentation

DotObjectAttribute ( void   ) 

~DotObjectAttribute ( void   )  [virtual]


Member Function Documentation

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]


Member Data Documentation

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]


The documentation for this class was generated from the following files:
Generated on Mon Apr 2 15:20:57 2007 for MXFLib by  doxygen 1.5.1-p1