Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | List of all members
cet::nybbler Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/cetlib/v3_06_01/source/cetlib/nybbler.h"

Public Member Functions

 nybbler ()
 
 nybbler (string const &s)
 
string as_hex () const
 
string as_char () const
 
nybbleroperator<< (string const &)
 

Private Types

typedef unsigned char uchar
 
typedef std::string string
 

Static Private Member Functions

static uchar msn (char ch)
 
static uchar lsn (char ch)
 
static char to_hex (uchar nyb)
 
static uchar to_nyb (char hex)
 

Private Attributes

string s_
 

Detailed Description

Definition at line 18 of file nybbler.h.

Member Typedef Documentation

typedef std::string cet::nybbler::string
private

Definition at line 20 of file nybbler.h.

typedef unsigned char cet::nybbler::uchar
private

Definition at line 19 of file nybbler.h.

Constructor & Destructor Documentation

cet::nybbler::nybbler ( )
inline

Definition at line 25 of file nybbler.h.

25 : s_("") {}
string s_
Definition: nybbler.h:34
cet::nybbler::nybbler ( string const &  s)
inlineexplicit

Definition at line 26 of file nybbler.h.

References as_char(), as_hex(), and operator<<().

26 : s_(s) {}
const XML_Char * s
Definition: expat.h:262
string s_
Definition: nybbler.h:34

Member Function Documentation

string cet::nybbler::as_char ( ) const

Referenced by nybbler().

string cet::nybbler::as_hex ( ) const

Referenced by nybbler().

static uchar cet::nybbler::lsn ( char  ch)
staticprivate
static uchar cet::nybbler::msn ( char  ch)
staticprivate
nybbler& cet::nybbler::operator<< ( string const &  )

Referenced by nybbler().

static char cet::nybbler::to_hex ( uchar  nyb)
staticprivate
static uchar cet::nybbler::to_nyb ( char  hex)
staticprivate

Member Data Documentation

string cet::nybbler::s_
private

Definition at line 34 of file nybbler.h.


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