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 1128 of file moduledef.cpp.

1129{
1130 if (d==nullptr) return nullptr;
1131 return (typeid(*d)==typeid(ModuleDefImpl)) ? static_cast<const ModuleDef*>(d) : nullptr;
1132}

◆ toModuleDef() [2/2]

ModuleDef * toModuleDef ( Definition * d)

Definition at line 1122 of file moduledef.cpp.

1123{
1124 if (d==nullptr) return nullptr;
1125 return (typeid(*d)==typeid(ModuleDefImpl)) ? static_cast<ModuleDef*>(d) : nullptr;
1126}

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

◆ toModuleDefImpl() [1/2]

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

Definition at line 1140 of file moduledef.cpp.

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

◆ toModuleDefImpl() [2/2]