Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::TMetaUtils::AnnotatedRecordDecl Class Reference

Definition at line 191 of file TClingUtils.h.

Classes

struct  CompareByName
 

Public Types

enum  ERootFlag {
  kNoStreamer = 0x01 , kNoInputOperator = 0x02 , kUseByteCount = 0x04 , kStreamerInfo = 0x04 ,
  kHasVersion = 0x08
}
 

Public Member Functions

 AnnotatedRecordDecl (long index, const clang::RecordDecl *decl, bool rStreamerInfo, bool rNoStreamer, bool rRequestNoInputOperator, bool rRequestOnlyTClass, int rRequestedVersionNumber, const cling::Interpreter &interpret, const TNormalizedCtxt &normCtxt)
 There is no requested type name.
 
 AnnotatedRecordDecl (long index, const clang::RecordDecl *decl, const char *requestName, bool rStreamerInfo, bool rNoStreamer, bool rRequestNoInputOperator, bool rRequestOnlyTClass, int rRequestedVersionNumber, const cling::Interpreter &interpret, const TNormalizedCtxt &normCtxt)
 Normalize the requested name.
 
 AnnotatedRecordDecl (long index, const clang::Type *requestedType, const clang::RecordDecl *decl, const char *requestedName, bool rStreamerInfo, bool rNoStreamer, bool rRequestNoInputOperator, bool rRequestOnlyTClass, int rRequestedVersionNumber, const cling::Interpreter &interpret, const TNormalizedCtxt &normCtxt)
 Normalize the requested type name.
 
 AnnotatedRecordDecl (long index, const clang::Type *requestedType, const clang::RecordDecl *decl, const char *requestedName, unsigned int nTemplateArgsToSkip, bool rStreamerInfo, bool rNoStreamer, bool rRequestNoInputOperator, bool rRequestOnlyTClass, int rRequestedVersionNumber, const cling::Interpreter &interpret, const TNormalizedCtxt &normCtxt)
 Normalize the requested type name.
 
 ~AnnotatedRecordDecl ()
 
const std::string & GetDemangledTypeInfo () const
 
const char * GetNormalizedName () const
 
const clang::RecordDecl * GetRecordDecl () const
 
const char * GetRequestedName () const
 
long GetRuleIndex () const
 
bool HasClassVersion () const
 
 operator clang::RecordDecl const * () const
 
bool operator< (const AnnotatedRecordDecl &right) const
 
int RequestedVersionNumber () const
 
bool RequestNoInputOperator () const
 
bool RequestNoStreamer () const
 
bool RequestOnlyTClass () const
 
bool RequestStreamerInfo () const
 
int RootFlag () const
 

Static Private Member Functions

static std::string BuildDemangledTypeInfo (const clang::RecordDecl *rDecl, const std::string &normalizedName)
 

Private Attributes

const clang::RecordDecl * fDecl
 
std::string fDemangledTypeInfo
 
std::string fNormalizedName
 
std::string fRequestedName
 
int fRequestedVersionNumber
 
bool fRequestNoInputOperator
 
bool fRequestNoStreamer
 
bool fRequestOnlyTClass
 
bool fRequestStreamerInfo
 
long fRuleIndex
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/core/clingutils/res/TClingUtils.h>

Member Enumeration Documentation

◆ ERootFlag

Enumerator
kNoStreamer 
kNoInputOperator 
kUseByteCount 
kStreamerInfo 
kHasVersion 

Definition at line 207 of file TClingUtils.h.

Constructor & Destructor Documentation

◆ AnnotatedRecordDecl() [1/4]

ROOT::TMetaUtils::AnnotatedRecordDecl::AnnotatedRecordDecl ( long  index,
const clang::RecordDecl *  decl,
bool  rStreamerInfo,
bool  rNoStreamer,
bool  rRequestNoInputOperator,
bool  rRequestOnlyTClass,
int  rRequestedVersionNumber,
const cling::Interpreter &  interpreter,
const TNormalizedCtxt normCtxt 
)

There is no requested type name.

Still let's normalized the actual name.

Definition at line 377 of file TClingUtils.cxx.

◆ AnnotatedRecordDecl() [2/4]

ROOT::TMetaUtils::AnnotatedRecordDecl::AnnotatedRecordDecl ( long  index,
const clang::RecordDecl *  decl,
const char *  requestName,
bool  rStreamerInfo,
bool  rNoStreamer,
bool  rRequestNoInputOperator,
bool  rRequestOnlyTClass,
int  rRequestedVersionNumber,
const cling::Interpreter &  interpret,
const TNormalizedCtxt normCtxt 
)

Normalize the requested name.

Definition at line 451 of file TClingUtils.cxx.

◆ AnnotatedRecordDecl() [3/4]

ROOT::TMetaUtils::AnnotatedRecordDecl::AnnotatedRecordDecl ( long  index,
const clang::Type *  requestedType,
const clang::RecordDecl *  decl,
const char *  requestedName,
bool  rStreamerInfo,
bool  rNoStreamer,
bool  rRequestNoInputOperator,
bool  rRequestOnlyTClass,
int  rRequestedVersionNumber,
const cling::Interpreter &  interpret,
const TNormalizedCtxt normCtxt 
)

Normalize the requested type name.

Definition at line 426 of file TClingUtils.cxx.

◆ AnnotatedRecordDecl() [4/4]

ROOT::TMetaUtils::AnnotatedRecordDecl::AnnotatedRecordDecl ( long  index,
const clang::Type *  requestedType,
const clang::RecordDecl *  decl,
const char *  requestedName,
unsigned int  nTemplateArgsToSkip,
bool  rStreamerInfo,
bool  rNoStreamer,
bool  rRequestNoInputOperator,
bool  rRequestOnlyTClass,
int  rRequestedVersionNumber,
const cling::Interpreter &  interpret,
const TNormalizedCtxt normCtxt 
)

Normalize the requested type name.

Definition at line 396 of file TClingUtils.cxx.

◆ ~AnnotatedRecordDecl()

ROOT::TMetaUtils::AnnotatedRecordDecl::~AnnotatedRecordDecl ( )
inline

Definition at line 261 of file TClingUtils.h.

Member Function Documentation

◆ BuildDemangledTypeInfo()

std::string ROOT::TMetaUtils::AnnotatedRecordDecl::BuildDemangledTypeInfo ( const clang::RecordDecl *  rDecl,
const std::string &  normalizedName 
)
staticprivate

Definition at line 319 of file TClingUtils.cxx.

◆ GetDemangledTypeInfo()

const std::string & ROOT::TMetaUtils::AnnotatedRecordDecl::GetDemangledTypeInfo ( ) const
inline

Definition at line 270 of file TClingUtils.h.

◆ GetNormalizedName()

const char * ROOT::TMetaUtils::AnnotatedRecordDecl::GetNormalizedName ( ) const
inline

Definition at line 269 of file TClingUtils.h.

◆ GetRecordDecl()

const clang::RecordDecl * ROOT::TMetaUtils::AnnotatedRecordDecl::GetRecordDecl ( ) const
inline

Definition at line 290 of file TClingUtils.h.

◆ GetRequestedName()

const char * ROOT::TMetaUtils::AnnotatedRecordDecl::GetRequestedName ( ) const
inline

Definition at line 268 of file TClingUtils.h.

◆ GetRuleIndex()

long ROOT::TMetaUtils::AnnotatedRecordDecl::GetRuleIndex ( ) const
inline

Definition at line 266 of file TClingUtils.h.

◆ HasClassVersion()

bool ROOT::TMetaUtils::AnnotatedRecordDecl::HasClassVersion ( ) const
inline

Definition at line 271 of file TClingUtils.h.

◆ operator clang::RecordDecl const *()

ROOT::TMetaUtils::AnnotatedRecordDecl::operator clang::RecordDecl const * ( ) const
inline

Definition at line 292 of file TClingUtils.h.

◆ operator<()

bool ROOT::TMetaUtils::AnnotatedRecordDecl::operator< ( const AnnotatedRecordDecl right) const
inline

Definition at line 296 of file TClingUtils.h.

◆ RequestedVersionNumber()

int ROOT::TMetaUtils::AnnotatedRecordDecl::RequestedVersionNumber ( ) const
inline

Definition at line 279 of file TClingUtils.h.

◆ RequestNoInputOperator()

bool ROOT::TMetaUtils::AnnotatedRecordDecl::RequestNoInputOperator ( ) const
inline

Definition at line 276 of file TClingUtils.h.

◆ RequestNoStreamer()

bool ROOT::TMetaUtils::AnnotatedRecordDecl::RequestNoStreamer ( ) const
inline

Definition at line 277 of file TClingUtils.h.

◆ RequestOnlyTClass()

bool ROOT::TMetaUtils::AnnotatedRecordDecl::RequestOnlyTClass ( ) const
inline

Definition at line 278 of file TClingUtils.h.

◆ RequestStreamerInfo()

bool ROOT::TMetaUtils::AnnotatedRecordDecl::RequestStreamerInfo ( ) const
inline

Definition at line 272 of file TClingUtils.h.

◆ RootFlag()

int ROOT::TMetaUtils::AnnotatedRecordDecl::RootFlag ( ) const
inline

Definition at line 280 of file TClingUtils.h.

Member Data Documentation

◆ fDecl

const clang::RecordDecl* ROOT::TMetaUtils::AnnotatedRecordDecl::fDecl
private

Definition at line 196 of file TClingUtils.h.

◆ fDemangledTypeInfo

std::string ROOT::TMetaUtils::AnnotatedRecordDecl::fDemangledTypeInfo
private

Definition at line 199 of file TClingUtils.h.

◆ fNormalizedName

std::string ROOT::TMetaUtils::AnnotatedRecordDecl::fNormalizedName
private

Definition at line 198 of file TClingUtils.h.

◆ fRequestedName

std::string ROOT::TMetaUtils::AnnotatedRecordDecl::fRequestedName
private

Definition at line 197 of file TClingUtils.h.

◆ fRequestedVersionNumber

int ROOT::TMetaUtils::AnnotatedRecordDecl::fRequestedVersionNumber
private

Definition at line 204 of file TClingUtils.h.

◆ fRequestNoInputOperator

bool ROOT::TMetaUtils::AnnotatedRecordDecl::fRequestNoInputOperator
private

Definition at line 202 of file TClingUtils.h.

◆ fRequestNoStreamer

bool ROOT::TMetaUtils::AnnotatedRecordDecl::fRequestNoStreamer
private

Definition at line 201 of file TClingUtils.h.

◆ fRequestOnlyTClass

bool ROOT::TMetaUtils::AnnotatedRecordDecl::fRequestOnlyTClass
private

Definition at line 203 of file TClingUtils.h.

◆ fRequestStreamerInfo

bool ROOT::TMetaUtils::AnnotatedRecordDecl::fRequestStreamerInfo
private

Definition at line 200 of file TClingUtils.h.

◆ fRuleIndex

long ROOT::TMetaUtils::AnnotatedRecordDecl::fRuleIndex
private

Definition at line 195 of file TClingUtils.h.

  • core/clingutils/res/TClingUtils.h
  • core/clingutils/src/TClingUtils.cxx