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 , kNtplForceNativeMode = 0x20 , kNtplForceStreamerMode = 0x40
}
 

Public Member Functions

 AnnotatedRecordDecl (long index, const clang::RecordDecl *decl, bool rStreamerInfo, bool rNoStreamer, bool rRequestNoInputOperator, bool rRequestOnlyTClass, int rRequestedVersionNumber, int rRequestedRNTupleSerializationMode, 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, int rRequestedRNTupleSerializationMode, 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, int rRequestedRNTupleSerializationMode, 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, int rRequestedRNTupleSerializationMode, 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 RequestedRNTupleSerializationMode () 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 fRequestedRNTupleSerializationMode
 
int fRequestedVersionNumber
 
bool fRequestNoInputOperator
 
bool fRequestNoStreamer
 
bool fRequestOnlyTClass
 
bool fRequestStreamerInfo
 
long fRuleIndex
 

#include </home/sftnight/build/workspace/root-makedoc-v634/rootspi/rdoc/src/v6-34-00-patches/core/clingutils/res/TClingUtils.h>

Member Enumeration Documentation

◆ ERootFlag

Enumerator
kNoStreamer 
kNoInputOperator 
kUseByteCount 
kStreamerInfo 
kHasVersion 
kNtplForceNativeMode 
kNtplForceStreamerMode 

Definition at line 211 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,
int  rRequestedRNTupleSerializationMode,
const cling::Interpreter &  interpreter,
const TNormalizedCtxt normCtxt 
)

There is no requested type name.

Still let's normalized the actual name.

Definition at line 379 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,
int  rRequestedRNTupleSerializationMode,
const cling::Interpreter &  interpret,
const TNormalizedCtxt normCtxt 
)

Normalize the requested name.

Definition at line 482 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,
int  rRequestedRNTupleSerializationMode,
const cling::Interpreter &  interpret,
const TNormalizedCtxt normCtxt 
)

Normalize the requested type name.

Definition at line 447 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,
int  rRequestedRNTupleSerializationMode,
const cling::Interpreter &  interpret,
const TNormalizedCtxt normCtxt 
)

Normalize the requested type name.

Definition at line 407 of file TClingUtils.cxx.

◆ ~AnnotatedRecordDecl()

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

Definition at line 275 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 320 of file TClingUtils.cxx.

◆ GetDemangledTypeInfo()

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

Definition at line 284 of file TClingUtils.h.

◆ GetNormalizedName()

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

Definition at line 283 of file TClingUtils.h.

◆ GetRecordDecl()

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

Definition at line 313 of file TClingUtils.h.

◆ GetRequestedName()

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

Definition at line 282 of file TClingUtils.h.

◆ GetRuleIndex()

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

Definition at line 280 of file TClingUtils.h.

◆ HasClassVersion()

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

Definition at line 285 of file TClingUtils.h.

◆ operator clang::RecordDecl const *()

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

Definition at line 315 of file TClingUtils.h.

◆ operator<()

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

Definition at line 319 of file TClingUtils.h.

◆ RequestedRNTupleSerializationMode()

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

Definition at line 295 of file TClingUtils.h.

◆ RequestedVersionNumber()

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

Definition at line 294 of file TClingUtils.h.

◆ RequestNoInputOperator()

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

Definition at line 291 of file TClingUtils.h.

◆ RequestNoStreamer()

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

Definition at line 292 of file TClingUtils.h.

◆ RequestOnlyTClass()

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

Definition at line 293 of file TClingUtils.h.

◆ RequestStreamerInfo()

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

Definition at line 286 of file TClingUtils.h.

◆ RootFlag()

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

Definition at line 297 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.

◆ fRequestedRNTupleSerializationMode

int ROOT::TMetaUtils::AnnotatedRecordDecl::fRequestedRNTupleSerializationMode
private

Definition at line 206 of file TClingUtils.h.

◆ fRequestedVersionNumber

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

Definition at line 205 of file TClingUtils.h.

◆ fRequestNoInputOperator

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

Definition at line 203 of file TClingUtils.h.

◆ fRequestNoStreamer

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

Definition at line 202 of file TClingUtils.h.

◆ fRequestOnlyTClass

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

Definition at line 204 of file TClingUtils.h.

◆ fRequestStreamerInfo

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

Definition at line 201 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