lestes::std::smart_int Struct Reference

Inheritance diagram for lestes::std::smart_int:

lestes::std::object lestes::std::mem::keystone List of all members.

Public Member Functions

bool operator< (const smart_int &si)

Static Public Member Functions

static ptr< smart_intcreate (int i)

Public Attributes

int value

Detailed Description

Definition at line 45 of file set.test.cc.


Member Function Documentation

bool lestes::std::smart_int::operator< ( const smart_int si  )  [inline]

Definition at line 47 of file set.test.cc.

References value.

00048         {
00049                 return value < si.value;
00050         }

static ptr<smart_int> lestes::std::smart_int::create ( int  i  )  [inline, static]

Definition at line 51 of file set.test.cc.

References value.

00052         {
00053                 smart_int * result = new smart_int();
00054                 result->value = i;
00055                 return result;
00056         }


Member Data Documentation

int lestes::std::smart_int::value

Definition at line 46 of file set.test.cc.

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


The documentation for this struct was generated from the following file:
Generated on Mon Feb 12 18:26:00 2007 for lestes by doxygen 1.5.1-20070107