MigratoryData Client API for C++
Developer's Guide and Reference Manual
MigratoryDataField Class Reference

Represent a message field. More...

Public Member Functions

 MigratoryDataField ()
 Default constructor.
 
 MigratoryDataField (const MigratoryDataField &field)
 Copy constructor. More...
 
 MigratoryDataField (std::string const &name, std::string const &value)
 Create a MigratoryDataField object. More...
 
std::string getName () const
 Get the field name. More...
 
std::string getValue () const
 Get the field value. More...
 
virtual ~MigratoryDataField ()
 Destructor.
 

Detailed Description

Represent a message field.

Constructor & Destructor Documentation

◆ MigratoryDataField() [1/2]

MigratoryDataField::MigratoryDataField ( const MigratoryDataField field)

Copy constructor.

Parameters
fieldA MigratoryDataField object

◆ MigratoryDataField() [2/2]

MigratoryDataField::MigratoryDataField ( std::string const &  name,
std::string const &  value 
)

Create a MigratoryDataField object.

Parameters
nameThe field name
valueThe field value

Member Function Documentation

◆ getName()

std::string MigratoryDataField::getName ( ) const

Get the field name.

Returns
A string representing the field name.

◆ getValue()

std::string MigratoryDataField::getValue ( ) const

Get the field value.

Returns
A string representing the field value.