NCBI Namespaces Etc
[CORELIB]

Collaboration diagram for NCBI Namespaces Etc:


Namespaces

namespace  std
 Magic spell ;-) needed for some weird compilers... very empiric.
namespace  ncbi
 Magic spell ;-) needed for some weird compilers... very empiric.
namespace  ncbi
 Magic spell ;-) needed for some weird compilers... very empiric.

Defines

#define BEGIN_SCOPE(ns)   namespace ns {
 Define a new scope.
#define END_SCOPE(ns)   }
 End the previously defined scope.
#define USING_SCOPE(ns)   using namespace ns
 Use the specified namespace.
#define NCBI_NS_STD   std
 Define the std namespace.
#define NCBI_USING_NAMESPACE_STD   using namespace NCBI_NS_STD
 Use the std namespace.
#define NCBI_NS_NCBI   ncbi
 Define the name for the NCBI namespace.
#define BEGIN_STD_SCOPE   BEGIN_SCOPE(NCBI_NS_STD)
 Place it for adding new funtionality to STD scope.
#define END_STD_SCOPE   END_SCOPE(NCBI_NS_STD)
 End previously defined STD scope.
#define BEGIN_NCBI_SCOPE   BEGIN_SCOPE(NCBI_NS_NCBI)
 Define ncbi namespace.
#define END_NCBI_SCOPE   END_SCOPE(NCBI_NS_NCBI)
 End previously defined NCBI scope.
#define USING_NCBI_SCOPE   USING_SCOPE(NCBI_NS_NCBI)
 For using NCBI namespace code.
#define NCBI_NAME2(Name1, Name2)   Name1##Name2
 Name concatenation macro with two names.
#define NCBI_NAME3(Name1, Name2, Name3)   Name1##Name2##Name3
 Name concatenation macro with three names.
#define NCBI_EAT_SEMICOLON(UniqueName)   typedef int NCBI_NAME2(T_EAT_SEMICOLON_,UniqueName)
#define NCBI_AS_STRING(value)   NCBI_AS_STRING2(value)
 Convert some value to string even if this value is macro itself.
#define NCBI_AS_STRING2(value)   #value
#define EMPTY_TEMPLATE   template<>
#define BREAK(it)   break


Define Documentation

#define BEGIN_NCBI_SCOPE   BEGIN_SCOPE(NCBI_NS_NCBI)
 

Define ncbi namespace.

Place at beginning of file for NCBI related code.

Definition at line 97 of file ncbistl.hpp.

#define BEGIN_SCOPE ns   )     namespace ns {
 

Define a new scope.

Definition at line 69 of file ncbistl.hpp.

#define BEGIN_STD_SCOPE   BEGIN_SCOPE(NCBI_NS_STD)
 

Place it for adding new funtionality to STD scope.

Definition at line 89 of file ncbistl.hpp.

#define BREAK it   )     break
 

Definition at line 161 of file ncbistl.hpp.

Referenced by CGFFReader::x_PlaceFeature(), and CGFFReader::x_PlaceSeq().

#define EMPTY_TEMPLATE   template<>
 

Definition at line 145 of file ncbistl.hpp.

#define END_NCBI_SCOPE   END_SCOPE(NCBI_NS_NCBI)
 

End previously defined NCBI scope.

Definition at line 100 of file ncbistl.hpp.

Referenced by CAnnotCompareFilterDlg::x_OnChooseFeatTypes().

#define END_SCOPE ns   )     }
 

End the previously defined scope.

Definition at line 72 of file ncbistl.hpp.

#define END_STD_SCOPE   END_SCOPE(NCBI_NS_STD)
 

End previously defined STD scope.

Definition at line 92 of file ncbistl.hpp.

#define NCBI_AS_STRING value   )     NCBI_AS_STRING2(value)
 

Convert some value to string even if this value is macro itself.

Definition at line 132 of file ncbistl.hpp.

Referenced by CreateSimpleRebalanceStrategy().

#define NCBI_AS_STRING2 value   )     #value
 

Definition at line 133 of file ncbistl.hpp.

#define NCBI_EAT_SEMICOLON UniqueName   )     typedef int NCBI_NAME2(T_EAT_SEMICOLON_,UniqueName)
 

Definition at line 127 of file ncbistl.hpp.

#define NCBI_NAME2 Name1,
Name2   )     Name1##Name2
 

Name concatenation macro with two names.

NB: If this names are macros themselves expanding will not take place.

Definition at line 119 of file ncbistl.hpp.

#define NCBI_NAME3 Name1,
Name2,
Name3   )     Name1##Name2##Name3
 

Name concatenation macro with three names.

NB: If this names are macros themselves expanding will not take place.

Definition at line 124 of file ncbistl.hpp.

#define NCBI_NS_NCBI   ncbi
 

Define the name for the NCBI namespace.

Definition at line 86 of file ncbistl.hpp.

#define NCBI_NS_STD   std
 

Define the std namespace.

Definition at line 80 of file ncbistl.hpp.

#define NCBI_USING_NAMESPACE_STD   using namespace NCBI_NS_STD
 

Use the std namespace.

Definition at line 83 of file ncbistl.hpp.

#define USING_NCBI_SCOPE   USING_SCOPE(NCBI_NS_NCBI)
 

For using NCBI namespace code.

Definition at line 103 of file ncbistl.hpp.

Referenced by main().

#define USING_SCOPE ns   )     using namespace ns
 

Use the specified namespace.

Definition at line 75 of file ncbistl.hpp.

Referenced by CSplign::AlignSingleCompartment(), CCompartmentAccessor< THit >::AsSeqAlignSet(), CAlignShadow::CAlignShadow(), CSplign::GetCds(), IsConsAcceptor(), IsConsDonor(), operator<<(), RetrieveStdStrands(), CSplignApp::Run(), CCompartApp::Run(), CSplignSimple::Run(), CProSplignApp::Run(), CSplign::s_ComputeStats(), CSplignApp::x_GetBl2SeqHits(), CwxSettingsDlg::x_GetFakeDataSource(), CSeqGraphicConfigPanel::x_GetFakeDataSource(), CSplignApp::x_GetNextPair(), CCompartApp::x_GetSeqLength(), CSplign::x_LoadSequence(), CSplignApp::x_ReadFastaSetId(), and CSplignApp::x_SetupBlastOptions().


Generated on Mon Dec 7 16:01:40 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:24:35 2009 by modify_doxy.py rev. 173732