ddc
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
DDCVersionT Class Reference

#include <ddcVersion.h>

Public Member Functions

 DDCVersionT (DWORD vmajor=0, DWORD vminor=0, DWORD vmicro=0)
 
 DDCVersionT (const DDCVersionT &v)
 
 DDCVersionT (const std::string &s)
 
void clear (void)
 
bool empty (void)
 
bool operator== (const DDCVersionT x) const
 
bool operator< (const DDCVersionT x) const
 
bool operator<= (const DDCVersionT x) const
 
bool operator> (const DDCVersionT x) const
 
bool operator>= (const DDCVersionT x) const
 
void toString (std::string &s) const
 
std::string str (void) const
 
void fromString (const std::string &s)
 

Static Public Member Functions

static DDCVersionT current ()
 return version of current DDC library (for use in initializers) More...
 

Public Attributes

DWORD v_major
 
DWORD v_minor
 
DWORD v_micro
 

Friends

std::ostream & operator<< (std::ostream &out, DDCVersionT v)
 
std::istream & operator>> (std::istream &in, DDCVersionT &v)
 

Detailed Description

Version class

Constructor & Destructor Documentation

◆ DDCVersionT() [1/3]

DDCVersionT::DDCVersionT ( DWORD  vmajor = 0,
DWORD  vminor = 0,
DWORD  vmicro = 0 
)
inline

Referenced by current().

Here is the caller graph for this function:

◆ DDCVersionT() [2/3]

DDCVersionT::DDCVersionT ( const DDCVersionT v)
inline

◆ DDCVersionT() [3/3]

DDCVersionT::DDCVersionT ( const std::string &  s)
inline

References fromString().

Here is the call graph for this function:

Member Function Documentation

◆ current()

static DDCVersionT DDCVersionT::current ( )
inlinestatic

return version of current DDC library (for use in initializers)

References DDC_VERSION_MAJOR, DDC_VERSION_MICRO, DDC_VERSION_MINOR, and DDCVersionT().

Referenced by do_start(), and CDDCServer::SetOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clear()

void DDCVersionT::clear ( void  )
inline

Referenced by ddc_parse_format_version(), and fromString().

Here is the caller graph for this function:

◆ empty()

bool DDCVersionT::empty ( void  )
inline

Referenced by ddc_format_version_check(), and ddc_parse_format_version().

Here is the caller graph for this function:

◆ operator==()

bool DDCVersionT::operator== ( const DDCVersionT  x) const
inline

References v_major, v_micro, and v_minor.

◆ operator<()

bool DDCVersionT::operator< ( const DDCVersionT  x) const
inline

References v_major, v_micro, and v_minor.

◆ operator<=()

bool DDCVersionT::operator<= ( const DDCVersionT  x) const
inline

◆ operator>()

bool DDCVersionT::operator> ( const DDCVersionT  x) const
inline

◆ operator>=()

bool DDCVersionT::operator>= ( const DDCVersionT  x) const
inline

◆ toString()

void DDCVersionT::toString ( std::string &  s) const
inline

Referenced by str().

Here is the caller graph for this function:

◆ str()

std::string DDCVersionT::str ( void  ) const
inline

References toString().

Referenced by ddc_format_version_check(), do_start(), CDDCLeafServer::handle__status(), CConcIndexator::SaveCorpusFileList(), CDDCServer::SetOptions(), and CDDCServerOptions::toString().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fromString()

void DDCVersionT::fromString ( const std::string &  s)
inline

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
DDCVersionT  v 
)
friend

◆ operator>>

std::istream& operator>> ( std::istream &  in,
DDCVersionT v 
)
friend

Member Data Documentation

◆ v_major

DWORD DDCVersionT::v_major

Referenced by operator<(), and operator==().

◆ v_minor

DWORD DDCVersionT::v_minor

Referenced by operator<(), and operator==().

◆ v_micro

DWORD DDCVersionT::v_micro

Referenced by operator<(), and operator==().


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