ReactOS 0.4.16-dev-106-g10b08aa
ArcSorter Class Reference

#include <arcsorter.h>

Inheritance diagram for ArcSorter:
Collaboration diagram for ArcSorter:

Public Member Functions

 ArcSorter (Subdivider &)
 
void qsort (Arc **a, int n)
 

Protected Member Functions

virtual int qscmp (char *, char *)
 

Protected Attributes

Subdividersubdivider
 

Private Member Functions

void qsexc (char *i, char *j)
 
void qstexc (char *i, char *j, char *k)
 
- Private Member Functions inherited from Sorter
 Sorter (int es)
 
virtual ~Sorter ()
 
void qsort (void *a, int n)
 
virtual int qscmp (char *, char *)
 
virtual void qsexc (char *i, char *j)
 
virtual void qstexc (char *i, char *j, char *k)
 

Detailed Description

Definition at line 44 of file arcsorter.h.

Constructor & Destructor Documentation

◆ ArcSorter()

ArcSorter::ArcSorter ( Subdivider s)

Definition at line 48 of file arcsorter.cc.

48 : Sorter( sizeof( Arc ** ) ), subdivider(s)
49{
50}
Subdivider & subdivider
Definition: arcsorter.h:50
Definition: arc.h:55
Definition: sorter.h:36
GLdouble s
Definition: gl.h:2039

Member Function Documentation

◆ qscmp()

int ArcSorter::qscmp ( char ,
char  
)
protectedvirtual

Reimplemented from Sorter.

Reimplemented in ArcSdirSorter, and ArcTdirSorter.

Definition at line 53 of file arcsorter.cc.

54{
55 _glu_dprintf( "ArcSorter::qscmp: pure virtual called\n" );
56 return 0;
57}

◆ qsexc()

void ArcSorter::qsexc ( char i,
char j 
)
privatevirtual

Reimplemented from Sorter.

Definition at line 66 of file arcsorter.cc.

67{
68 Arc **jarc1 = (Arc **) i;
69 Arc **jarc2 = (Arc **) j;
70 Arc *tmp = *jarc1;
71 *jarc1 = *jarc2;
72 *jarc2 = tmp;
73}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
Definition: glfuncs.h:250

◆ qsort()

void ArcSorter::qsort ( Arc **  a,
int  n 
)

Definition at line 60 of file arcsorter.cc.

61{
62 Sorter::qsort( (void *) a, n );
63}
void qsort(void *a, int n)
Definition: sorter.cc:50
GLdouble n
Definition: glext.h:7729
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204

Referenced by Subdivider::split().

◆ qstexc()

void ArcSorter::qstexc ( char i,
char j,
char k 
)
privatevirtual

Reimplemented from Sorter.

Definition at line 76 of file arcsorter.cc.

77{
78 Arc **jarc1 = (Arc **) i;
79 Arc **jarc2 = (Arc **) j;
80 Arc **jarc3 = (Arc **) k;
81 Arc *tmp = *jarc1;
82 *jarc1 = *jarc3;
83 *jarc3 = *jarc2;
84 *jarc2 = tmp;
85}
int k
Definition: mpi.c:3369

Member Data Documentation

◆ subdivider

Subdivider& ArcSorter::subdivider
protected

Definition at line 50 of file arcsorter.h.

Referenced by ArcSdirSorter::qscmp(), and ArcTdirSorter::qscmp().


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