Tuple class for associating AftField and AftData values.
More...
#include <AftKey.h>
|
std::ostream & | operator<< (std::ostream &os, const AftKey &aKey) |
| Define << class operator to append description to an output stream. More...
|
|
Tuple class for associating AftField and AftData values.
Default constructor for keys.
- Parameters
-
[in] | newField | Field value for key |
[in] | newData | Reference to data value for key |
Append data in key to the end of the supplied data vector.
- Parameters
-
[in] | data | Reference to data vector to append to |
- Returns
- Length in bits of data appended
Concatanates key vector data into an AftDataPrefix.
- Parameters
-
[in] | keys | Reference to key vector to concatanate Returns Shared pointer to AftDataPrefix that contains concatenated result |
Returns a pointer to the data for a key field (if it exists)
- Parameters
-
[in] | keys | Reference to key vector to search |
[in] | fieldName | Reference to field name to search for Returns Shared pointer to AftData class that matches field |
template<class T >
static std::shared_ptr<T> AftKey::dataForField |
( |
const AftKeyVector & |
keys, |
|
|
const std::string & |
fieldName |
|
) |
| |
|
inlinestatic |
Returns a pointer to the data for a key field (if it exists)
- Parameters
-
[in] | keys | Reference to key vector to search |
[in] | fieldName | Reference to field name to search for Returns Shared pointer to AftData class that matches field |
bool AftKey::operator== |
( |
const AftKey & |
key | ) |
const |
|
inline |
Comparator for keys.
- Parameters
-
[in] | key | Reference to key to compare against |
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const AftKey & |
aKey |
|
) |
| |
|
friend |
Define << class operator to append description to an output stream.
- Parameters
-
[in] | os | Reference to output stream to append to |
[in] | key | Reference to key to append description of to stream |
The documentation for this class was generated from the following file: