Class MessageBucket::CDescription

Nested Relationships

This class is a nested type of Class MessageBucket.

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class CDescription : public flamegpu::MessageBruteForce::CDescription

Subclassed by flamegpu::MessageBucket::Description

Public Functions

explicit CDescription(std::shared_ptr<Data> data)

CDescription

Constructor, creates an interface to the MessageData

Parameters:

dataData store of this message’s data

explicit CDescription(std::shared_ptr<const Data> data)
CDescription(const CDescription &other_agent) = default

Copy constructor Creates a new interface to the same MessageData/ModelData

CDescription(CDescription &&other_agent) = default
CDescription &operator=(const CDescription &other_agent) = default

Assignment operator Assigns this interface to the same MessageData/ModelData

CDescription &operator=(CDescription &&other_agent) = default
bool operator==(const CDescription &rhs) const

Equality operator, checks whether message Description hierarchies are functionally the same

Note

Instead compare pointers if you wish to check that they are the same instance

Parameters:

rhs – right hand side

Returns:

True when messages are the same

bool operator!=(const CDescription &rhs) const

Equality operator, checks whether message Description hierarchies are functionally different

Note

Instead compare pointers if you wish to check that they are not the same instance

Parameters:

rhs – right hand side

Returns:

True when messages are not the same

IntT getLowerBound() const

Return the currently set (inclusive) lower bound, this is the first valid key

Const accessors

IntT getUpperBound() const

Return the currently set (inclusive) upper bound, this is the last valid key