Attribute Class Reference
[GDB]

Attribute data class. More...

List of all members.

Public Member Functions

attr_t GetId () const
 Gets the Dex attribute identifier.
type_t GetTypeId () const
 Gets the Dex type identifier.
const std::wstring & GetName () const
 Gets the unique attribute name.
DataType GetDataType () const
 Gets the data type.
int64_t GetSize () const
 Gets the number of different values.
int64_t GetCount () const
 Gets the number of non-NULL values.
AttributeKind GetKind () const
 Gets the attribute kind.
bool_t IsSessionAttribute () const
 Check if it's a session attribute or a persistent one.

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

attr_t Attribute::GetId (  )  const [inline]

Gets the Dex attribute identifier.

Returns:
The Dex attribute identifier.

type_t Attribute::GetTypeId (  )  const [inline]

Gets the Dex type identifier.

Returns:
The Dex type identifier.

const std::wstring& Attribute::GetName (  )  const [inline]

Gets the unique attribute name.

Returns:
The unique attribute name.

DataType Attribute::GetDataType (  )  const [inline]

Gets the data type.

Returns:
The DataType.

int64_t Attribute::GetSize (  )  const [inline]

Gets the number of different values.

Returns:
The number of different values.

int64_t Attribute::GetCount (  )  const [inline]

Gets the number of non-NULL values.

Returns:
The number of non-NULL values.

AttributeKind Attribute::GetKind (  )  const [inline]

Gets the attribute kind.

Returns:
The AttributeKind.

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:

Generated on Tue Jul 16 12:10:11 2013 for Dex by  doxygen 1.5.6