#include <binary.h>
Public Member Functions | |
Binary () | |
Binary (const unsigned char *data, std::size_t size) | |
const unsigned char * | data () const |
bool | operator!= (const Binary &rhs) const |
bool | operator== (const Binary &rhs) const |
bool | owned () const |
std::size_t | size () const |
void | swap (std::vector< unsigned char > &rhs) |
Private Attributes | |
std::vector< unsigned char > | m_data |
const unsigned char * | m_unownedData |
std::size_t | m_unownedSize |
YAML_PM::Binary::Binary | ( | ) | [inline] |
YAML_PM::Binary::Binary | ( | const unsigned char * | data, |
std::size_t | size | ||
) | [inline] |
const unsigned char* YAML_PM::Binary::data | ( | ) | const [inline] |
bool YAML_PM::Binary::operator!= | ( | const Binary & | rhs | ) | const [inline] |
bool YAML_PM::Binary::operator== | ( | const Binary & | rhs | ) | const [inline] |
bool YAML_PM::Binary::owned | ( | ) | const [inline] |
std::size_t YAML_PM::Binary::size | ( | ) | const [inline] |
void YAML_PM::Binary::swap | ( | std::vector< unsigned char > & | rhs | ) | [inline] |
std::vector<unsigned char> YAML_PM::Binary::m_data [private] |
const unsigned char* YAML_PM::Binary::m_unownedData [private] |
std::size_t YAML_PM::Binary::m_unownedSize [private] |