Functions
classlist.cpp File Reference
#include "classlist.h"
#include "config.h"
#include "util.h"
#include "outputlist.h"
#include "language.h"
#include "doxygen.h"
#include "vhdldocgen.h"
#include "defargs.h"
#include "arguments.h"
#include "groupdef.h"

Go to the source code of this file.

Functions

static int compItems (const ClassDef *c1, const ClassDef *c2)
 

Function Documentation

static int compItems ( const ClassDef c1,
const ClassDef c2 
)
static

Definition at line 37 of file classlist.cpp.

38 {
39  static bool b = Config_getBool("SORT_BY_SCOPE_NAME");
40  if (b)
41  {
42  return qstricmp(c1->name(), c2->name());
43  }
44  else
45  {
46  return qstricmp(c1->className(), c2->className());
47  }
48 }
QCString className() const
Definition: classdef.cpp:3914
const QCString & name() const
Definition: definition.h:114
int qstricmp(const char *str1, const char *str2)
Definition: qcstring.cpp:567
#define Config_getBool(val)
Definition: config.cpp:664
static bool * b
Definition: config.cpp:1043