#include <AttributeProperties.h>
Inheritance diagram for VGServer::AttributeProperties:

Public Member Functions | |
| void | appendBinaryFormat (class ByteOutBuffer &bob) const | 
| concatenate the binary representation of this attribute to the buffer   | |
| AttributeProperties (const std::string &attrname, const AnyType &def, bool _varying=false) | |
| constructs an attribute with the given AnyType (type,value) tupel as default value.   | |
| AttributeProperties (const std::string &attrname, attrtype_t attrtype, bool _varying=false) | |
| constructs an attribute with the given name and attribute type, but doesnt set a value.   | |
| AttributeProperties () | |
| empty default constructor, sets the type to INVALID   | |
| void | resetType (attrtype_t t) | 
| overloaded resetType function from AnyType to reset the properties.   | |
Public Attributes | |
| unsigned int | defbitnum | 
| this is the zero-based index of the default bit assigned to this attribute.   | |
| int | lookup | 
| std::string | name | 
| bool | varying | 
| marks this attribute as having no default value.   | |
Both vertex and edge attributes are specified by the same class, as they are stored and selected using the same methods.
Definition at line 21 of file AttributeProperties.h.
| VGServer::AttributeProperties::AttributeProperties | ( | ) |  [inline] | 
        
empty default constructor, sets the type to INVALID
Definition at line 42 of file AttributeProperties.h.
| VGServer::AttributeProperties::AttributeProperties | ( | const std::string & | attrname, | |
| attrtype_t | attrtype, | |||
| bool |  _varying = false | |||
| ) |  [inline, explicit] | 
        
constructs an attribute with the given name and attribute type, but doesnt set a value.
you have to set a value using AnyType's set... functions.
Definition at line 49 of file AttributeProperties.h.
| VGServer::AttributeProperties::AttributeProperties | ( | const std::string & | attrname, | |
| const AnyType & | def, | |||
| bool |  _varying = false | |||
| ) |  [inline, explicit] | 
        
constructs an attribute with the given AnyType (type,value) tupel as default value.
Definition at line 56 of file AttributeProperties.h.
| void VGServer::AttributeProperties::appendBinaryFormat | ( | class ByteOutBuffer & | bob | ) | const | 
concatenate the binary representation of this attribute to the buffer
Definition at line 100 of file AttributeProperties.cc.
References VGServer::ATTRTYPE_BOOL, VGServer::AnyType::getInteger(), VGServer::AnyType::getType(), and name.
| void VGServer::AttributeProperties::resetType | ( | attrtype_t | t | ) |  [inline] | 
        
overloaded resetType function from AnyType to reset the properties.
excluding the name!. this is needed for the parser
Reimplemented from VGServer::AnyType.
Definition at line 63 of file AttributeProperties.h.
References defbitnum, lookup, VGServer::AnyType::resetType(), and varying.
| unsigned int VGServer::AttributeProperties::defbitnum | 
this is the zero-based index of the default bit assigned to this attribute.
Definition at line 32 of file AttributeProperties.h.
Referenced by VGServer::TpAttributeBlob< AllocPolicy >::putAttrChainValue(), and resetType().
Definition at line 38 of file AttributeProperties.h.
Referenced by VGServer::TpAttributeBlob< AllocPolicy >::putAttrChainValue(), and resetType().
| std::string VGServer::AttributeProperties::name | 
marks this attribute as having no default value.
it does not have a bit in the default-bitfield.
Definition at line 28 of file AttributeProperties.h.
Referenced by VGServer::TpAttributeBlob< AllocPolicy >::putAttrChainValue(), and resetType().
 1.4.7