Appearance
class flake::PropArray
#include <FlakeTypes.h>
Inherits from flake::Serializable, std::vector< Property >
Public Functions
| Name | |
|---|---|
| virtual | ~PropArray() =default |
| PropArray() | |
| PropArray([const]PropArray & va) | |
| PropArray & | operator=([const]PropArray & other) |
| [void] | copyFrom([const]PropArray & other) |
| [const]Property & | getAt([uint32_t] index) const |
| [const]Property & | get([uint32_t] tag) const |
| template <uint32_t PropTag> [PropType]< [PropTag] > | get([PropType]< [PropTag] > default_value =[static_cast]< [PropType]< [PropTag] > >(PropTypeFromTag<(([PropTag]) &0x7FFU)>::default_value)) |
| [bool] | has([uint32_t] tag) const |
| [void] | remove([const]Property & val) |
| [void] | set([const]Property & val) |
| template <uint32_t PropTag,typenameT > [void] | set([T] value) |
| [size_type] | count() const |
| virtual [bool] | serialize([uint16_t] * outLen, [uint8_t] ** outBuf) override |
| virtual [bool] | deserialize([uint16_t] len, [uint8_t] * buf) override |
| [uint16_t] | getSerializedSize() const |
| [char] * | toString([size_t] max_len) const |
Additional inherited members
Protected Functions inherited from flake::Serializable
| Name | |
|---|---|
| ~Serializable() =default |
Detailed Description
cpp
class flake::PropArray;document me
Public Functions Documentation
function ~PropArray
cpp
virtual ~PropArray() =defaultfunction PropArray
cpp
inline PropArray()function PropArray
cpp
inline PropArray(
constPropArray & va
)function operator=
cpp
inline PropArray & operator=(
constPropArray & other
)function copyFrom
cpp
inline void copyFrom(
constPropArray & other
)function getAt
cpp
inline constProperty & getAt(
uint32_t index
) constfunction get
cpp
inline constProperty & get(
uint32_t tag
) constfunction get
cpp
template <uint32_t PropTag>
inline PropType< PropTag > get(
PropType< PropTag > default_value =static_cast< PropType< PropTag > >(PropTypeFromTag<((PropTag) &0x7FFU)>::default_value)
)function has
cpp
inline bool has(
uint32_t tag
) constfunction remove
cpp
inline void remove(
constProperty & val
)function set
cpp
inline void set(
constProperty & val
)function set
cpp
template <uint32_t PropTag,
typenameT >
inline void set(
T value
)function count
cpp
inline size_type count() constdocument me
function serialize
cpp
inline virtual bool serialize(
uint16_t * outLen,
uint8_t ** outBuf
) overrideReimplements: flake::Serializable::serialize
function deserialize
cpp
inline virtual bool deserialize(
uint16_t len,
uint8_t * buf
) overrideReimplements: flake::Serializable::deserialize
function getSerializedSize
cpp
inline uint16_t getSerializedSize() constfunction toString
cpp
inline char * toString(
size_t max_len
) const