#include <GenericField.h>
Public Member Functions | |
GenericFieldString (const std::string &fieldName, bool multiplexed, DataStore *pDataStore, bool persistent, int32_t size, DataIntegrity bufferType=SingleBuffered) | |
Constructor. | |
~GenericFieldString () | |
const char * | get (MultiplexingContext *context) |
Method to retrieve active field value. | |
void | set (const char *val, MultiplexingContext *context) |
Method to set the new value of the pending buffer of the field. |
Definition at line 1016 of file GenericField.h.
fesa::GenericFieldString::GenericFieldString | ( | const std::string & | fieldName, | |
bool | multiplexed, | |||
DataStore * | pDataStore, | |||
bool | persistent, | |||
int32_t | size, | |||
DataIntegrity | bufferType = SingleBuffered | |||
) |
Constructor.
fieldName | name of the field | |
criterionName | multiplexing criterion | |
pointer | to DataStore that contains the field |
Definition at line 8 of file GenericField.cpp.
fesa::GenericFieldString::~GenericFieldString | ( | ) |
Definition at line 14 of file GenericField.cpp.
const char * fesa::GenericFieldString::get | ( | MultiplexingContext * | context | ) |
Method to retrieve active field value.
context | the multiplexing context |
Definition at line 18 of file GenericField.cpp.
References fesa::FieldValue< char[]>::activeBuffer(), FesaErrorNULLPointerToContext, fesa::FieldString::getFieldValue(), fesa::AbstractMultiplexingManager::getSlot(), and fesa::AbstractField::multiplexingManager_.
void fesa::GenericFieldString::set | ( | const char * | val, | |
MultiplexingContext * | context | |||
) |
Method to set the new value of the pending buffer of the field.
val | new string value | |
context | the multiplexing context |
Definition at line 28 of file GenericField.cpp.
References FesaErrorFieldMaxDimensionOutOfBound, FesaErrorNoneContextforMuxedField, FesaErrorNULLPointerToContext, fesa::FieldString::getFieldValue(), fesa::MultiplexingContext::getType(), fesa::FieldString::maxSize_, fesa::AbstractField::multiplexingManager_, fesa::AbstractField::name_, fesa::MultiplexingContext::NoneCtxt, fesa::FieldValue< char[]>::pendingBuffer(), fesa::AbstractMultiplexingManager::requireSlot(), and fesa::StringUtilities::toString().