ReactOS  0.4.15-dev-1207-g698a8e6
SortClass Class Reference

#include <SortClass.h>

Inheritance diagram for SortClass:
Collaboration diagram for SortClass:

Public Types

enum  { kRange = 100 }
 

Public Member Functions

 SortClass (int v)
 
 SortClass ()
 
bool operator< (const TestClass &rhs) const
 
bool operator== (const TestClass &rhs) const
 
SortClassGetAddress () const
 
void ResetAddress ()
 
- Public Member Functions inherited from TestClass
 TestClass ()
 
 TestClass (int value)
 
 TestClass (const TestClass &rhs)
 
 ~TestClass ()
 
TestClassoperator= (const TestClass &rhs)
 
int value () const
 
TestClass operator! () const
 
bool operator== (const TestClass &rhs) const
 
bool operator< (const TestClass &rhs) const
 

Private Attributes

SortClassaddr
 

Additional Inherited Members

- Static Protected Member Functions inherited from TestClass
static unsigned int get_random (unsigned range=UINT_MAX)
 

Detailed Description

Definition at line 26 of file SortClass.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kRange 

Definition at line 29 of file SortClass.h.

29 { kRange = 100 };

Constructor & Destructor Documentation

◆ SortClass() [1/2]

SortClass::SortClass ( int  v)
inline

Definition at line 31 of file SortClass.h.

31  : TestClass( v ), addr(0) {
32  ResetAddress();
33  }
TestClass()
Definition: TestClass.h:87
SortClass * addr
Definition: SortClass.h:55
const GLdouble * v
Definition: gl.h:2040
void ResetAddress()
Definition: SortClass.h:52

◆ SortClass() [2/2]

SortClass::SortClass ( )
inline

Definition at line 35 of file SortClass.h.

35  : TestClass( (int)get_random(kRange) ), addr(0) {
36  ResetAddress();
37  }
TestClass()
Definition: TestClass.h:87
SortClass * addr
Definition: SortClass.h:55
static unsigned int get_random(unsigned range=UINT_MAX)
Definition: TestClass.h:154
void ResetAddress()
Definition: SortClass.h:52

Member Function Documentation

◆ GetAddress()

SortClass* SortClass::GetAddress ( ) const
inline

Definition at line 51 of file SortClass.h.

51 { return addr; }
SortClass * addr
Definition: SortClass.h:55

◆ operator<()

bool SortClass::operator< ( const TestClass rhs) const
inline

Definition at line 39 of file SortClass.h.

40  {
42  return (const TestClass&)*this < ( rhs );
43  }
void simulate_possible_failure()
Definition: nc_alloc.h:117

◆ operator==()

bool SortClass::operator== ( const TestClass rhs) const
inline

Definition at line 45 of file SortClass.h.

46  {
48  return (const TestClass&)*this == ( rhs );
49  }
void simulate_possible_failure()
Definition: nc_alloc.h:117

◆ ResetAddress()

void SortClass::ResetAddress ( )
inline

Definition at line 52 of file SortClass.h.

52 { addr = this; }
GLenum const GLvoid * addr
Definition: glext.h:9621

Referenced by SortClass().

Member Data Documentation

◆ addr

SortClass* SortClass::addr
private

Definition at line 55 of file SortClass.h.

Referenced by GetAddress().


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