My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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.

References ClassDef::className(), Config_getBool, and Definition::name().

Referenced by ClassList::compareValues(), and ClassSDict::compareValues().

{
static bool b = Config_getBool(SORT_BY_SCOPE_NAME);
if (b)
{
return qstricmp(c1->name(), c2->name());
}
else
{
return qstricmp(c1->className(), c2->className());
}
}