NCBI C++ ToolKit
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CModuleContainer Class Reference

Search Toolkit Book for CModuleContainer

#include "mcontainer.hpp"
(Private to src/serial/datatool.)

+ Inheritance diagram for CModuleContainer:
+ Collaboration diagram for CModuleContainer:

Public Member Functions

 CModuleContainer (void)
virtual ~CModuleContainer (void)
virtual const CMemoryRegistryGetConfig (void) const
virtual const stringGetSourceFileName (void) const
virtual string GetFileNamePrefix (void) const
virtual EFileNamePrefixSource GetFileNamePrefixSource (void) const
bool MakeFileNamePrefixFromSourceFileName (void) const
bool MakeFileNamePrefixFromModuleName (void) const
bool UseAllFileNamePrefixes (void) const
virtual CDataTypeInternalResolve (const string &moduleName, const string &typeName) const
virtual const CNamespaceGetNamespace (void) const
virtual string GetNamespaceRef (const CNamespace &ns) const
void SetModuleContainer (const CModuleContainer *parent)
const CModuleContainerGetModuleContainer (void) const

Private Member Functions

 CModuleContainer (const CModuleContainer &)
CModuleContaineroperator= (const CModuleContainer &)

Private Attributes

const CModuleContainerm_Parent

Detailed Description

Definition at line 52 of file mcontainer.hpp.

Constructor & Destructor Documentation

◆ CModuleContainer() [1/2]

CModuleContainer::CModuleContainer ( void  )

Definition at line 39 of file mcontainer.cpp.

◆ ~CModuleContainer()

CModuleContainer::~CModuleContainer ( void  )

Definition at line 44 of file mcontainer.cpp.

◆ CModuleContainer() [2/2]

CModuleContainer::CModuleContainer ( const CModuleContainer )

Member Function Documentation

◆ GetConfig()

const CMemoryRegistry & CModuleContainer::GetConfig ( void  ) const

Reimplemented in CCodeGenerator.

Definition at line 60 of file mcontainer.cpp.

References GetConfig(), and GetModuleContainer().

Referenced by GetConfig(), and CDataTypeModule::x_GetVar().

◆ GetFileNamePrefix()

string CModuleContainer::GetFileNamePrefix ( void  ) const

◆ GetFileNamePrefixSource()

EFileNamePrefixSource CModuleContainer::GetFileNamePrefixSource ( void  ) const

◆ GetModuleContainer()

const CModuleContainer & CModuleContainer::GetModuleContainer ( void  ) const

◆ GetNamespace()

const CNamespace & CModuleContainer::GetNamespace ( void  ) const

Reimplemented in CDataTypeModule, and CCodeGenerator.

Definition at line 90 of file mcontainer.cpp.

References GetModuleContainer(), and GetNamespace().

Referenced by GetNamespace(), CDataTypeModule::GetNamespace(), and GetNamespaceRef().

◆ GetNamespaceRef()

string CModuleContainer::GetNamespaceRef ( const CNamespace ns) const

◆ GetSourceFileName()

const string & CModuleContainer::GetSourceFileName ( void  ) const

◆ InternalResolve()

CDataType * CModuleContainer::InternalResolve ( const string moduleName,
const string typeName 
) const

Reimplemented in CCodeGenerator.

Definition at line 84 of file mcontainer.cpp.

References GetModuleContainer(), and InternalResolve().

Referenced by InternalResolve(), CDataTypeModule::Resolve(), and CDataType::ResolveGlobal().

◆ MakeFileNamePrefixFromModuleName()

bool CModuleContainer::MakeFileNamePrefixFromModuleName ( void  ) const

◆ MakeFileNamePrefixFromSourceFileName()

bool CModuleContainer::MakeFileNamePrefixFromSourceFileName ( void  ) const

◆ operator=()

CModuleContainer& CModuleContainer::operator= ( const CModuleContainer )

◆ SetModuleContainer()

void CModuleContainer::SetModuleContainer ( const CModuleContainer parent)

Definition at line 48 of file mcontainer.cpp.

References _ASSERT, and m_Parent.

Referenced by CCodeGenerator::CCodeGenerator().

◆ UseAllFileNamePrefixes()

bool CModuleContainer::UseAllFileNamePrefixes ( void  ) const

Member Data Documentation

◆ m_Parent

const CModuleContainer* CModuleContainer::m_Parent

The documentation for this class was generated from the following files:
Modified on Sat Jul 13 13:41:30 2024 by rev. 669887