22 #ifndef INCLUDE_OLA_ACN_CID_H_
23 #define INCLUDE_OLA_ACN_CID_H_
34 #include <ola/io/OutputBuffer.h>
81 void Pack(uint8_t *output)
const;
147 #endif // INCLUDE_OLA_ACN_CID_H_
bool operator<(const CID &c1) const
Less than operator.
Definition: CID.cpp:61
std::string ToString() const
Return the CID as a human readable string.
Definition: CID.cpp:65
void Pack(uint8_t *output) const
Pack a CID into the binary representation.
Definition: CID.cpp:44
Definition: OutputBuffer.h:36
bool operator==(const CID &c1) const
Equality operator.
Definition: CID.cpp:53
The ACN component identifier.
Definition: CID.h:47
static CID FromString(const std::string &cid)
Create a new CID from a human readable string.
Definition: CID.cpp:84
bool IsNil() const
Returns true if the CID is uninitialized.
Definition: CID.cpp:40
static CID FromData(const uint8_t *data)
Create a new CID from a binary representation.
Definition: CID.cpp:79
void Write(ola::io::OutputBufferInterface *output) const
Write the CID to an OutputBufferInterface.
Definition: CID.cpp:69
bool operator!=(const CID &c1) const
Inequality operator.
Definition: CID.cpp:57
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
~CID()
CID destructor.
Definition: CID.cpp:36
CID & operator=(const CID &c1)
Assignment operator.
Definition: CID.cpp:48
CID()
Create a new uninitialized CID.
Definition: CID.cpp:30
static CID Generate()
Generate a new CID.
Definition: CID.cpp:74