Follow this link to skip to the main content

claraty::GUID_1394 Struct Reference

#include <guid_1394.h>

List of all members.

Public Member Functions

 GUID_1394 (unsigned long h=0, unsigned long l=0)
bool operator< (const GUID_1394 &rhs) const
bool operator== (const GUID_1394 &rhs) const
std::string write_to_string () const
bool io (FDM_Array arr)

Static Public Member Functions

static GUID_1394 read_from_string (const std::string &str)

Public Attributes

unsigned long hi
unsigned long low


Detailed Description

Definition at line 33 of file guid_1394.h.


Constructor & Destructor Documentation

claraty::GUID_1394::GUID_1394 ( unsigned long  h = 0,
unsigned long  l = 0 
) [inline]

Definition at line 36 of file guid_1394.h.

00037     : hi(h), low(l) { }


Member Function Documentation

bool claraty::GUID_1394::operator< ( const GUID_1394 rhs  )  const [inline]

Definition at line 39 of file guid_1394.h.

References hi, and low.

00039                                              {
00040     return hi < rhs.hi || (hi == rhs.hi && low < rhs.low);
00041   }

bool claraty::GUID_1394::operator== ( const GUID_1394 rhs  )  const [inline]

Definition at line 43 of file guid_1394.h.

References hi, and low.

00043                                               {
00044     return hi == rhs.hi && low == rhs.low;
00045   }

string claraty::GUID_1394::write_to_string (  )  const

Definition at line 46 of file guid_1394.cc.

00047 {
00048   ostringstream str;
00049   str << *this;
00050   return str.str();
00051 }

static GUID_1394 claraty::GUID_1394::read_from_string ( const std::string &  str  )  [static]

bool claraty::GUID_1394::io ( FDM_Array  arr  ) 

Definition at line 75 of file guid_1394.cc.

References claraty::FDM_Array::element(), hi, and low.

00076 {
00077   bool ok=true;
00078   ok &= array.element(hi);
00079   ok &= array.element(low);
00080   return ok;
00081 }

Here is the call graph for this function:


Member Data Documentation

unsigned long claraty::GUID_1394::hi

Definition at line 34 of file guid_1394.h.

Referenced by io(), operator<(), claraty::operator<<(), and operator==().

unsigned long claraty::GUID_1394::low

Definition at line 34 of file guid_1394.h.

Referenced by io(), operator<(), claraty::operator<<(), and operator==().


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