Type data class.
More...
#include <Graph_data.h>
|
|
static const type_t | InvalidType |
| | Invalid type identifier.
|
|
static const type_t | GlobalType |
| | Global type identifier.
|
|
static const type_t | NodesType |
| | Identifier for all nodeType attributes.
|
|
static const type_t | EdgesType |
| | Identifier for all edgeType attributes.
|
Type data class.
It contains information about a node or edge type.
- Author
- Sparsity Technologies http://www.sparsity-technologies.com
◆ GetAreNeighborsIndexed()
| bool_t Type::GetAreNeighborsIndexed |
( |
| ) |
const |
|
inline |
Gets if this is an edge type with neighbors index.
- Returns
- TRUE for edges types with neighbors index, FALSE otherwise.
◆ GetId()
◆ GetIsDirected()
| bool_t Type::GetIsDirected |
( |
| ) |
const |
|
inline |
Gets if this is a directed edge type.
- Returns
- TRUE for directed edge types, FALSE otherwise.
◆ GetIsRestricted()
| bool_t Type::GetIsRestricted |
( |
| ) |
const |
|
inline |
Gets if this is a restricted edge type.
- Returns
- TRUE for restricted edge types, FALSE otherwise.
◆ GetName()
| const std::wstring & Type::GetName |
( |
| ) |
const |
|
inline |
Gets the unique type name.
- Returns
- The unique type name.
◆ GetNumObjects()
| int64_t Type::GetNumObjects |
( |
| ) |
const |
|
inline |
Gets the number of objects belonging to the type.
- Returns
- The number of objects belonging to the type.
◆ GetObjectType()
Gets the object type.
- Returns
- The object type.
◆ GetRestrictedFrom()
| type_t Type::GetRestrictedFrom |
( |
| ) |
const |
|
inline |
Gets the tail or source type identifier for restricted edge types.
- Returns
- For restricted edge types, the tail or source type identifier, the Type InvalidType otherwise.
◆ GetRestrictedTo()
| type_t Type::GetRestrictedTo |
( |
| ) |
const |
|
inline |
Gets the head or target type identifier for restricted edge types.
- Returns
- For restricted edge types, the head or target type identifier, the Type InvalidType otherwise.
The documentation for this class was generated from the following file: