#include <VCG.h>
Definition at line 97 of file VCG.h.
◆ VCGNode() [1/2]
Standard Constructor for the 'Graph' class.
Definition at line 288 of file VCG.cpp.
288 :
289 mTitle(strdup("Default VCG Node Title")),
290 mLabel(strdup("Default Label")),
291 mShape(strdup("box")),
292 mBorderColor(strdup("black"))
293{
294
295
296}
◆ ~VCGNode()
Standard Destructor for the 'Graph' class.
Definition at line 316 of file VCG.cpp.
317{
318 free(mTitle);
319 free(mLabel);
320 free(mShape);
321 free(mBorderColor);
322}
◆ VCGNode() [2/2]
| VCGNode::VCGNode |
( |
const char * |
title, |
|
|
const char * |
label |
|
) |
| |
Alternate Constructor for the 'Graph' class.
Definition at line 301 of file VCG.cpp.
301 :
302 mTitle(strdup(title)),
303 mLabel(strdup(label)),
304 mShape(strdup("box")),
305 mBorderColor(strdup("black"))
306
307{
308
309
310}
◆ GetBorderColor()
| char * VCGNode::GetBorderColor |
( |
| ) |
const |
|
inline |
◆ GetLabel()
| char * VCGNode::GetLabel |
( |
| ) |
const |
|
inline |
◆ GetShape()
| char * VCGNode::GetShape |
( |
| ) |
const |
|
inline |
◆ GetTitle()
| char * VCGNode::GetTitle |
( |
| ) |
const |
|
inline |
◆ SetBorderColor()
| void VCGNode::SetBorderColor |
( |
const char * |
color | ) |
|
|
inline |
Definition at line 107 of file VCG.h.
107{if(mBorderColor)free(mBorderColor); mBorderColor=strdup(color);};
Referenced by VCG::Evaluate().
◆ SetLabel()
| void VCGNode::SetLabel |
( |
const char * |
label | ) |
|
|
inline |
Definition at line 105 of file VCG.h.
105{if(mLabel)free(mLabel);mLabel=strdup(label);};
◆ SetShape()
| void VCGNode::SetShape |
( |
const char * |
shape | ) |
|
|
inline |
Definition at line 106 of file VCG.h.
106{if(mShape)free(mShape);mShape=strdup(shape);};
Referenced by VCG::Evaluate().
◆ SetTitle()
| void VCGNode::SetTitle |
( |
const char * |
title | ) |
|
|
inline |
Definition at line 104 of file VCG.h.
104{if(mTitle)free(mTitle);mTitle=strdup(title);};
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & |
out, |
|
|
VCGNode & |
v |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files: