#include <VCG.h>
Definition at line 122 of file VCG.h.
◆ VCGEdge() [1/2]
Standard Constructor for the 'Edge' class.
Definition at line 340 of file VCG.cpp.
340 :
341 mThickness(2),
342 mFrom(0),
343 mTo(0),
344 mAnchor(1)
345{
346
347}
◆ ~VCGEdge()
Standard Destructor for the 'Edge' class.
Definition at line 363 of file VCG.cpp.
364{
365 free(mFrom);
366 free(mTo);
367
368}
◆ VCGEdge() [2/2]
| VCGEdge::VCGEdge |
( |
const char * |
from, |
|
|
const char * |
to |
|
) |
| |
Alternate Constructor for the 'Edge' class.
Definition at line 352 of file VCG.cpp.
352 :
353 mThickness(2),
354 mFrom(strdup(from)),
355 mTo(strdup(to)),
356 mAnchor(1)
357{
358}
◆ GetAnchor()
| int VCGEdge::GetAnchor |
( |
| ) |
const |
|
inline |
◆ GetFrom()
| char * VCGEdge::GetFrom |
( |
| ) |
const |
|
inline |
◆ GetThickness()
| int VCGEdge::GetThickness |
( |
| ) |
const |
|
inline |
◆ GetTo()
| char * VCGEdge::GetTo |
( |
| ) |
const |
|
inline |
◆ SetAnchor()
| void VCGEdge::SetAnchor |
( |
const int |
i | ) |
|
|
inline |
◆ SetFrom()
| void VCGEdge::SetFrom |
( |
const char * |
from | ) |
|
|
inline |
Definition at line 130 of file VCG.h.
130{if(mFrom)free(mFrom);mFrom = strdup(from);};
◆ SetThickness()
| void VCGEdge::SetThickness |
( |
const int |
thickness | ) |
|
|
inline |
Definition at line 129 of file VCG.h.
129{mThickness=thickness;};
◆ SetTo()
| void VCGEdge::SetTo |
( |
const char * |
to | ) |
|
|
inline |
Definition at line 131 of file VCG.h.
131{if(mTo)free(mTo); mTo = strdup(to);};
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & |
out, |
|
|
VCGEdge & |
v |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files: