SST  7.1.0
StructuralSimulationToolkit
SST::RankInfo Class Reference
Inheritance diagram for SST::RankInfo:
SST::Core::Serialization::serializable

Public Member Functions

 RankInfo (uint32_t rank, uint32_t thread)
 
bool isAssigned () const
 
bool inRange (const RankInfo &other) const
 
bool operator== (const RankInfo &other) const
 
bool operator!= (const RankInfo &other) const
 
bool operator< (const RankInfo &other) const
 
bool operator<= (const RankInfo &other) const
 
bool operator> (const RankInfo &other) const
 
bool operator>= (const RankInfo &other) const
 
void serialize_order (SST::Core::Serialization::serializer &ser) override
 
- Public Member Functions inherited from SST::Core::Serialization::serializable
virtual const char * cls_name () const =0
 
virtual uint32_t cls_id () const =0
 
virtual std::string serialization_name () const =0
 

Data Fields

uint32_t rank
 
uint32_t thread
 

Static Public Attributes

static const uint32_t UNASSIGNED = (uint32_t)-1
 

Additional Inherited Members

- Protected Types inherited from SST::Core::Serialization::serializable
enum  cxn_flag_t { ConstructorFlag }
 
- Static Protected Member Functions inherited from SST::Core::Serialization::serializable
static void serializable_abort (uint32_t line, const char *file, const char *func, const char *obj)
 

Member Function Documentation

◆ inRange()

bool SST::RankInfo::inRange ( const RankInfo other) const
inline
Returns
true if other's rank and thread are less than ours

Referenced by SST::ConfigGraph::checkRanks().


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