| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tlp::VectorGraphProperty< TYPE > Class Template ReferenceThat class enables to factorize code for NodeProperty and EdgeProperty in VectorGraph, it could not be used directly. More...
Inheritance diagram for tlp::VectorGraphProperty< TYPE >:
Collaboration diagram for tlp::VectorGraphProperty< TYPE >:
Public Member Functions
Protected Member Functions
Protected Attributes
Friends
Detailed Descriptiontemplate<typename TYPE>
|
tlp::VectorGraphProperty< TYPE >::VectorGraphProperty | ( | ) | [inline, protected] |
tlp::VectorGraphProperty< TYPE >::VectorGraphProperty | ( | const VectorGraphProperty< TYPE > & | obj | ) | [inline, protected] |
tlp::VectorGraphProperty< TYPE >::VectorGraphProperty | ( | ValArray< TYPE > * | array, | |
VectorGraph * | graph | |||
) | [inline, protected] |
std::vector<TYPE>::const_reference tlp::VectorGraphProperty< TYPE >::get | ( | const size_t | id | ) | const [inline] |
read accessor
return the value of the ith element.
virtual bool tlp::VectorGraphProperty< TYPE >::isValid | ( | ) | const [pure virtual] |
std::vector<TYPE>::reference tlp::VectorGraphProperty< TYPE >::operator[] | ( | const size_t | id | ) | [inline] |
read/write accessor
return the value of the ith element and enables to modify it.
std::vector<TYPE>::const_reference tlp::VectorGraphProperty< TYPE >::operator[] | ( | const size_t | id | ) | const [inline] |
read accessor
return the value of the ith element.
void tlp::VectorGraphProperty< TYPE >::set | ( | const size_t | id, | |
const TYPE & | obj | |||
) | [inline] |
write accessor
change the value of the ith element.
void tlp::VectorGraphProperty< TYPE >::setAll | ( | const TYPE & | obj | ) | [inline] |
Set all the value of the property to the value given in parameter
That function affect the same value to all elements of the vector, there is no effect on the future value added in the vector
friend class VectorGraph [friend] |
ValArray<TYPE>* tlp::VectorGraphProperty< TYPE >::_array [protected] |
TODO
VectorGraph* tlp::VectorGraphProperty< TYPE >::_graph [protected] |
TODO
Tulip Software by LaBRI Visualization Team 2001 - 2012 |