Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
odbc::Bytes Class Reference

#include <RDBC/blob/master/include/RDBC/odbc++/types.h>

+ Collaboration diagram for odbc::Bytes:

Classes

struct  Rep
 

Public Member Functions

 Bytes ()
 
 Bytes (const signed char *data, size_t dataLen)
 
 Bytes (const Bytes &b)
 
Bytesoperator= (const Bytes &b)
 
 ~Bytes ()
 
const signed char * getData () const
 
size_t getSize () const
 

Private Attributes

Reprep_
 

Detailed Description

A chunk of bytes.

Used for setting and getting binary values.

Warning
This class uses reference counting. An instance that is referred to from different threads is likely to cause trouble.

Definition at line 206 of file types.h.

View newest version in sPHENIX GitHub at line 206 of file types.h

Constructor & Destructor Documentation

odbc::Bytes::Bytes ( )
inline

Default constructor

Definition at line 229 of file types.h.

View newest version in sPHENIX GitHub at line 229 of file types.h

odbc::Bytes::Bytes ( const signed char *  data,
size_t  dataLen 
)
inline

Constructor

Definition at line 235 of file types.h.

View newest version in sPHENIX GitHub at line 235 of file types.h

odbc::Bytes::Bytes ( const Bytes b)
inline

Copy constructor

Definition at line 241 of file types.h.

View newest version in sPHENIX GitHub at line 241 of file types.h

odbc::Bytes::~Bytes ( )
inline

Destructor

Definition at line 257 of file types.h.

View newest version in sPHENIX GitHub at line 257 of file types.h

Member Function Documentation

const signed char* odbc::Bytes::getData ( ) const
inline

Returns a pointer to the data

Definition at line 264 of file types.h.

View newest version in sPHENIX GitHub at line 264 of file types.h

size_t odbc::Bytes::getSize ( ) const
inline

Returns the size of the data

Definition at line 269 of file types.h.

View newest version in sPHENIX GitHub at line 269 of file types.h

Bytes& odbc::Bytes::operator= ( const Bytes b)
inline

Assignment

Definition at line 247 of file types.h.

View newest version in sPHENIX GitHub at line 247 of file types.h

References odbc::Bytes::Rep::refCount_, and rep_.

Member Data Documentation

Rep* odbc::Bytes::rep_
private

Definition at line 226 of file types.h.

View newest version in sPHENIX GitHub at line 226 of file types.h

Referenced by operator=().


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