Public Member Functions | Private Attributes
YAML_PM::Binary Class Reference

#include <binary.h>

List of all members.

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

Detailed Description

Definition at line 18 of file binary.h.


Constructor & Destructor Documentation

Definition at line 20 of file binary.h.

YAML_PM::Binary::Binary ( const unsigned char *  data,
std::size_t  size 
) [inline]

Definition at line 21 of file binary.h.


Member Function Documentation

const unsigned char* YAML_PM::Binary::data ( ) const [inline]

Definition at line 25 of file binary.h.

bool YAML_PM::Binary::operator!= ( const Binary rhs) const [inline]

Definition at line 53 of file binary.h.

bool YAML_PM::Binary::operator== ( const Binary rhs) const [inline]

Definition at line 40 of file binary.h.

bool YAML_PM::Binary::owned ( ) const [inline]

Definition at line 23 of file binary.h.

std::size_t YAML_PM::Binary::size ( ) const [inline]

Definition at line 24 of file binary.h.

void YAML_PM::Binary::swap ( std::vector< unsigned char > &  rhs) [inline]

Definition at line 27 of file binary.h.


Member Data Documentation

std::vector<unsigned char> YAML_PM::Binary::m_data [private]

Definition at line 58 of file binary.h.

const unsigned char* YAML_PM::Binary::m_unownedData [private]

Definition at line 59 of file binary.h.

std::size_t YAML_PM::Binary::m_unownedSize [private]

Definition at line 60 of file binary.h.


The documentation for this class was generated from the following file:


upstream_src
Author(s):
autogenerated on Mon Oct 6 2014 10:27:43