MorphoGraphX  2.0-1-227
Public Member Functions | List of all members
mgx::DistVertexAttr< DistNhbdT, ContentT, DataT > Class Template Reference

#include <DistObject.hpp>

+ Inheritance diagram for mgx::DistVertexAttr< DistNhbdT, ContentT, DataT >:

Public Member Functions

 DistVertexAttr (DistNhbdT &nhbd, AttrMap< typename DistNhbdT::Vertex, ContentT > *map, DataT ContentT::*off)
 
DataT * vData (const typename DistNhbdT::Vertex &v)
 
void setAttrMap (AttrMap< typename DistNhbdT::Vertex, ContentT > *map)
 
- Public Member Functions inherited from mgx::DistVertex< DistNhbdT, DataT >
 DistVertex (DistNhbdT &nhbd)
 
virtual ~DistVertex ()
 
DistNhbdTnhbd ()
 
thrust::device_vector< DataT > * data ()
 
void alloc ()
 
void write ()
 
void read ()
 

Additional Inherited Members

- Protected Member Functions inherited from mgx::DistVertex< DistNhbdT, DataT >
 DistVertex (DistNhbdT &nhbd, bool hasData)
 

Detailed Description

template<typename DistNhbdT, typename ContentT, typename DataT>
class mgx::DistVertexAttr< DistNhbdT, ContentT, DataT >

Derived class from distributed vertex with storage in an attribute map keyed by vertex.

Definition at line 240 of file DistObject.hpp.

Constructor & Destructor Documentation

◆ DistVertexAttr()

template<typename DistNhbdT , typename ContentT , typename DataT >
mgx::DistVertexAttr< DistNhbdT, ContentT, DataT >::DistVertexAttr ( DistNhbdT nhbd,
AttrMap< typename DistNhbdT::Vertex, ContentT > *  map,
DataT ContentT::*  off 
)
inline

Definition at line 248 of file DistObject.hpp.

Member Function Documentation

◆ setAttrMap()

template<typename DistNhbdT , typename ContentT , typename DataT >
void mgx::DistVertexAttr< DistNhbdT, ContentT, DataT >::setAttrMap ( AttrMap< typename DistNhbdT::Vertex, ContentT > *  map)
inline

Definition at line 259 of file DistObject.hpp.

◆ vData()

template<typename DistNhbdT , typename ContentT , typename DataT >
DataT* mgx::DistVertexAttr< DistNhbdT, ContentT, DataT >::vData ( const typename DistNhbdT::Vertex &  v)
inlinevirtual

Reimplemented from mgx::DistVertex< DistNhbdT, DataT >.

Definition at line 253 of file DistObject.hpp.


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