Lexis  1.1.0
Vocabulary of events and shared objects for BBP and HBP software
lexis::data::CellSetBinaryOp Class Reference
+ Inheritance diagram for lexis::data::CellSetBinaryOp:
+ Collaboration diagram for lexis::data::CellSetBinaryOp:

Public Types

typedef ::zerobuf::Vector< uint32_t > First
 
typedef ::zerobuf::Vector< uint32_t > Second
 

Public Member Functions

CellSetBinaryOp::First & getFirst ()
 Get a reference to the First dynamic member. More...
 
const CellSetBinaryOp::First & getFirst () const
 
void setFirst (uint32_t const *value, size_t size)
 Set the value of the First dynamic object from a uint32_t* and size. More...
 
std::vector< uint32_t > getFirstVector () const
 
void setFirst (const std::vector< uint32_t > &value)
 Set the value of the First dynamic object from a std::vector< uint32_t >. More...
 
CellSetBinaryOp::Second & getSecond ()
 Get a reference to the Second dynamic member. More...
 
const CellSetBinaryOp::Second & getSecond () const
 
void setSecond (uint32_t const *value, size_t size)
 Set the value of the Second dynamic object from a uint32_t* and size. More...
 
std::vector< uint32_t > getSecondVector () const
 
void setSecond (const std::vector< uint32_t > &value)
 Set the value of the Second dynamic object from a std::vector< uint32_t >. More...
 
CellSetBinaryOpType getOperation () const
 
void setOperation (CellSetBinaryOpType value)
 Set the Operation value. More...
 
void compact (float threshold=0.1f) final
 
 CellSetBinaryOp (const std::vector< uint32_t > &firstValue, const std::vector< uint32_t > &secondValue, const CellSetBinaryOpType &operationValue)
 
 CellSetBinaryOp (const CellSetBinaryOp &rhs)
 
 CellSetBinaryOp (CellSetBinaryOp &&rhs) noexcept
 
 CellSetBinaryOp (const ::zerobuf::Zerobuf &rhs)
 
 CellSetBinaryOp (::zerobuf::AllocatorPtr allocator)
 
CellSetBinaryOpoperator= (const CellSetBinaryOp &rhs)
 
CellSetBinaryOpoperator= (CellSetBinaryOp &&rhs)
 
std::string getSchema () const final
 
std::string getTypeName () const final
 
::zerobuf::uint128_t getTypeIdentifier () const final
 
size_t getZerobufStaticSize () const final
 
size_t getZerobufNumDynamics () const final
 
void _parseJSON (const Json::Value &json) final
 
void _createJSON (Json::Value &json) const final
 

Static Public Member Functions

static std::string ZEROBUF_SCHEMA ()
 
static std::string ZEROBUF_TYPE_NAME ()
 
::zerobuf::uint128_t ZEROBUF_TYPE_IDENTIFIER ()
 
static size_t ZEROBUF_STATIC_SIZE ()
 
static size_t ZEROBUF_NUM_DYNAMICS ()
 
static ConstCellSetBinaryOpPtr create (const void *data, const size_t size)
 

Detailed Description

Definition at line 27 of file cellSetBinaryOp.h.

Member Function Documentation

CellSetBinaryOp::First& lexis::data::CellSetBinaryOp::getFirst ( )

Get a reference to the First dynamic member.

Warning
: If the reference is used to modify the object, notifyChanged() needs to be explicitly called afterwards.
Returns
a reference to the First dynamic member.
CellSetBinaryOp::Second& lexis::data::CellSetBinaryOp::getSecond ( )

Get a reference to the Second dynamic member.

Warning
: If the reference is used to modify the object, notifyChanged() needs to be explicitly called afterwards.
Returns
a reference to the Second dynamic member.
void lexis::data::CellSetBinaryOp::setFirst ( uint32_t const *  value,
size_t  size 
)

Set the value of the First dynamic object from a uint32_t* and size.

notifyChanged() is internally called after the data has been copied.

Parameters
valuea uint32_t* to the data to be set in the current object
sizethe size of the data to be set
void lexis::data::CellSetBinaryOp::setFirst ( const std::vector< uint32_t > &  value)

Set the value of the First dynamic object from a std::vector< uint32_t >.

notifyChanged() is internally called after the data has been copied.

Parameters
valuea std::vector< uint32_t > object with the data to be set
void lexis::data::CellSetBinaryOp::setOperation ( CellSetBinaryOpType  value)

Set the Operation value.

notifyChanged() is internally called after the change has been done.

Parameters
valuethe Operation value
void lexis::data::CellSetBinaryOp::setSecond ( uint32_t const *  value,
size_t  size 
)

Set the value of the Second dynamic object from a uint32_t* and size.

notifyChanged() is internally called after the data has been copied.

Parameters
valuea uint32_t* to the data to be set in the current object
sizethe size of the data to be set
void lexis::data::CellSetBinaryOp::setSecond ( const std::vector< uint32_t > &  value)

Set the value of the Second dynamic object from a std::vector< uint32_t >.

notifyChanged() is internally called after the data has been copied.

Parameters
valuea std::vector< uint32_t > object with the data to be set

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