Public Member Functions | Public Attributes | List of all members
Int Struct Reference

Public Member Functions

 Int (int i=0)
 
float id () const
 
bool operator== (int other) const
 

Public Attributes

int i
 

Detailed Description

Definition at line 23 of file registry_via_id_test.cc.

Constructor & Destructor Documentation

Int::Int ( int  i = 0)
inline

Definition at line 25 of file registry_via_id_test.cc.

25 : i(i) {}

Member Function Documentation

float Int::id ( ) const
inline

Definition at line 27 of file registry_via_id_test.cc.

28  {
29  return i;
30  }
bool Int::operator== ( int  other) const
inline

Definition at line 32 of file registry_via_id_test.cc.

33  {
34  return i == other;
35  }

Member Data Documentation

int Int::i

Definition at line 24 of file registry_via_id_test.cc.


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