libMesh::TestClass Class Reference

#include <id_types.h>

Public Member Functions

 TestClass ()
 
 TestClass (unsigned int c)
 
TestClassoperator= (unsigned int c)
 
bool operator< (const TestClass &l) const
 
 operator int () const
 

Private Attributes

unsigned int _c
 

Detailed Description

Definition at line 33 of file id_types.h.

Constructor & Destructor Documentation

◆ TestClass() [1/2]

libMesh::TestClass::TestClass ( )
inline

Definition at line 37 of file id_types.h.

37 : _c(0) {}
unsigned int _c
Definition: id_types.h:35

◆ TestClass() [2/2]

libMesh::TestClass::TestClass ( unsigned int  c)
inline

Definition at line 38 of file id_types.h.

38 : _c(c) {}
unsigned int _c
Definition: id_types.h:35

Member Function Documentation

◆ operator int()

libMesh::TestClass::operator int ( ) const
inline

Definition at line 41 of file id_types.h.

References _c.

41 { return _c; }
unsigned int _c
Definition: id_types.h:35

◆ operator<()

bool libMesh::TestClass::operator< ( const TestClass l) const
inline

Definition at line 40 of file id_types.h.

References _c.

40 { return _c < l._c; }
unsigned int _c
Definition: id_types.h:35

◆ operator=()

TestClass& libMesh::TestClass::operator= ( unsigned int  c)
inline

Definition at line 39 of file id_types.h.

References _c.

39 { _c = c; return *this; }
unsigned int _c
Definition: id_types.h:35

Member Data Documentation

◆ _c

unsigned int libMesh::TestClass::_c
private

Definition at line 35 of file id_types.h.

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


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