NetworKit
Large-Scale Network Analysis
Get Started
Documentation
Features
News
Publications
NetworKit Day
Credits & References
Python Documentation
C++ Documentation
Page Hierarchy
Class Hierarchy
File Hierarchy
Full API
Namespaces
Classes and Structs
Enums
Functions
Variables
Defines
Typedefs
Directories
Pages
Jupyter Notebook
Developer Guide
Template Class AttributeStorageBase
¶
Defined in
File Attributes.hpp
Class Documentation
¶
template
<
typename
NodeOrEdge
,
typename
GraphType
>
class
AttributeStorageBase
¶
Public Functions
inline
AttributeStorageBase
(
std
::
string
name
,
std
::
type_index
type
)
¶
inline
void
invalidateStorage
(
)
¶
inline
const
std
::
string
&
getName
(
)
const
noexcept
¶
inline
std
::
type_index
getType
(
)
const
noexcept
¶
virtual
std
::
shared_ptr
<
AttributeStorageBase
>
clone
(
)
const
=
0
¶
inline
bool
isValid
(
index
n
)
const
noexcept
¶
inline
void
invalidate
(
index
n
)
¶
Protected Functions
inline
void
markValid
(
index
n
)
¶
inline
void
checkIndex
(
index
n
)
const
¶
Protected Attributes
index
validElements
=
0
¶
bool
validStorage
¶