Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
core::io::serialization::BUFFER Struct Reference

#include <serialize_pose.hh>

Public Member Functions

 BUFFER (size_t size)
 
 BUFFER (char *buf, std::size_t size)
 
 ~BUFFER ()
 
int write (char *x, std::size_t nchar)
 
int read (char *out_buf, std::size_t nchar)
 

Private Member Functions

 BUFFER ()
 

Private Attributes

char * buf_
 
size_t start_
 
size_t end_
 
size_t size_
 
bool ownbuf_
 

Constructor & Destructor Documentation

core::io::serialization::BUFFER::BUFFER ( size_t  size)
inline

References buf_, and size_.

core::io::serialization::BUFFER::BUFFER ( char *  buf,
std::size_t  size 
)
inline
core::io::serialization::BUFFER::~BUFFER ( )
inline

References buf_, and ownbuf_.

core::io::serialization::BUFFER::BUFFER ( )
private

Member Function Documentation

int core::io::serialization::BUFFER::read ( char *  out_buf,
std::size_t  nchar 
)
inline

References buf_, size_, and start_.

Referenced by core::io::serialization::read_bytes().

int core::io::serialization::BUFFER::write ( char *  x,
std::size_t  nchar 
)
inline

References buf_, end_, and size_.

Referenced by core::io::serialization::write_bytes().

Member Data Documentation

char* core::io::serialization::BUFFER::buf_
private

Referenced by BUFFER(), read(), write(), and ~BUFFER().

size_t core::io::serialization::BUFFER::end_
private

Referenced by write().

bool core::io::serialization::BUFFER::ownbuf_
private

Referenced by ~BUFFER().

size_t core::io::serialization::BUFFER::size_
private

Referenced by BUFFER(), read(), and write().

size_t core::io::serialization::BUFFER::start_
private

Referenced by read().


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