Public Member Functions | Private Attributes | List of all members
YAML_PM::Binary Class Reference

#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
 

Detailed Description

Definition at line 18 of file binary.h.

Constructor & Destructor Documentation

◆ Binary() [1/2]

YAML_PM::Binary::Binary ( )
inline

Definition at line 20 of file binary.h.

◆ Binary() [2/2]

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

Definition at line 21 of file binary.h.

Member Function Documentation

◆ data()

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

Definition at line 25 of file binary.h.

◆ operator!=()

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

Definition at line 53 of file binary.h.

◆ operator==()

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

Definition at line 40 of file binary.h.

◆ owned()

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

Definition at line 23 of file binary.h.

◆ size()

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

Definition at line 24 of file binary.h.

◆ swap()

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

Definition at line 27 of file binary.h.

Member Data Documentation

◆ m_data

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

Definition at line 58 of file binary.h.

◆ m_unownedData

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

Definition at line 59 of file binary.h.

◆ m_unownedSize

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:


mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:46:01