Sparksee  6.0.2
Attribute Class Reference

Attribute data class. More...

Public Member Functions

 ~Attribute ()
 Destructor.
 
attr_t GetId () const
 Gets the Sparksee attribute identifier. More...
 
type_t GetTypeId () const
 Gets the Sparksee type identifier. More...
 
const std::wstring & GetName () const
 Gets the unique attribute name. More...
 
DataType GetDataType () const
 Gets the data type. More...
 
int64_t GetSize () const
 Gets the number of different values. More...
 
int64_t GetCount () const
 Gets the number of non-NULL values. More...
 
AttributeKind GetKind () const
 Gets the attribute kind. More...
 
bool_t IsSessionAttribute () const
 Check if it's a session attribute or a persistent one. More...
 
bool_t IsArrayAttribute () const
 Check if it's an array attribute. More...
 
int32_t GetArraySize () const
 Gets the number of elements in the array. More...
 

Static Public Attributes

static const attr_t InvalidAttribute
 Invalid attribute identifier constant.
 

Friends

class Graph
 

Detailed Description

Attribute data class.

It contains information about an attribute.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Member Function Documentation

int32_t Attribute::GetArraySize ( ) const
inline

Gets the number of elements in the array.

Returns
The size of the array
int64_t Attribute::GetCount ( ) const
inline

Gets the number of non-NULL values.

Returns
The number of non-NULL values.
DataType Attribute::GetDataType ( ) const
inline

Gets the data type.

Returns
The DataType.
attr_t Attribute::GetId ( ) const
inline

Gets the Sparksee attribute identifier.

Returns
The Sparksee attribute identifier.
AttributeKind Attribute::GetKind ( ) const
inline

Gets the attribute kind.

Returns
The AttributeKind.
const std::wstring& Attribute::GetName ( ) const
inline

Gets the unique attribute name.

Returns
The unique attribute name.
int64_t Attribute::GetSize ( ) const
inline

Gets the number of different values.

Returns
The number of different values.
type_t Attribute::GetTypeId ( ) const
inline

Gets the Sparksee type identifier.

Returns
The Sparksee type identifier.
bool_t Attribute::IsArrayAttribute ( ) const
inline

Check if it's an array attribute.

Returns
True if it's an array attribute, or false otherwise.
bool_t Attribute::IsSessionAttribute ( ) const
inline

Check if it's a session attribute or a persistent one.

Returns
True if it's a session attribute, or false otherwise.

The documentation for this class was generated from the following file: