Doxygen
Loading...
Searching...
No Matches
moduledef.cpp File Reference
#include "moduledef.h"
#include "definitionimpl.h"
#include "entry.h"
#include "memberdef.h"
#include "classlist.h"
#include "namespacedef.h"
#include "conceptdef.h"
#include "config.h"
#include "outputlist.h"
#include "language.h"
#include "util.h"
#include "groupdef.h"
#include "message.h"
#include "membergroup.h"
#include "classdef.h"
#include "textstream.h"
#include "trace.h"
+ Include dependency graph for moduledef.cpp:

Go to the source code of this file.

Classes

struct  HeaderInfo
 
class  ModuleDefImpl
 
struct  ModuleManager::Private
 

Typedefs

using HeaderInfoVector = std::vector<HeaderInfo>
 

Functions

ModuleDeftoModuleDef (Definition *d)
 
const ModuleDeftoModuleDef (const Definition *d)
 
static ModuleDefImpltoModuleDefImpl (ModuleDef *m)
 
static ModuleDefImpltoModuleDefImpl (const std::unique_ptr< ModuleDef > &m)
 

Typedef Documentation

◆ HeaderInfoVector

using HeaderInfoVector = std::vector<HeaderInfo>

Definition at line 45 of file moduledef.cpp.

Function Documentation

◆ toModuleDef() [1/2]

const ModuleDef * toModuleDef ( const Definition * d)

Definition at line 1125 of file moduledef.cpp.

1126{
1127 if (d==nullptr) return nullptr;
1128 return (typeid(*d)==typeid(ModuleDefImpl)) ? static_cast<const ModuleDef*>(d) : nullptr;
1129}

◆ toModuleDef() [2/2]

ModuleDef * toModuleDef ( Definition * d)

Definition at line 1119 of file moduledef.cpp.

1120{
1121 if (d==nullptr) return nullptr;
1122 return (typeid(*d)==typeid(ModuleDefImpl)) ? static_cast<ModuleDef*>(d) : nullptr;
1123}

Referenced by ClassDefImpl::moveTo(), and MemberDefImpl::moveTo().

◆ toModuleDefImpl() [1/2]

static ModuleDefImpl * toModuleDefImpl ( const std::unique_ptr< ModuleDef > & m)
inlinestatic

Definition at line 1137 of file moduledef.cpp.

1138{ return static_cast<ModuleDefImpl*>(m.get()); }

◆ toModuleDefImpl() [2/2]