4 #ifndef R__R_CONVERSION_RULE_PARSER_H
5 #define R__R_CONVERSION_RULE_PARSER_H
16 #ifndef ROOT_RConfigure
17 #include "RConfigure.h"
20 #ifndef R__TSCHEMATYPE_H
55 std::string& mappedName,
56 MembersTypeMap_t& members, std::ostream&
output );
63 std::string& mappedName,
64 MembersTypeMap_t& members, std::ostream&
output );
70 const std::string& listName, std::ostream&
output );
80 bool ParseRule( std::string rule, MembersMap_t &
result, std::string &error_string );
92 #endif // !defined(__CINT__)
94 #endif // R__R_CONVERSION_RULE_PARSER_H
std::map< std::string, std::list< SchemaRuleMap_t > > SchemaRuleClassMap_t
void WriteReadRawRuleFunc(SchemaRuleMap_t &rule, int index, std::string &mappedName, MembersTypeMap_t &members, std::ostream &output)
Write the conversion function for ReadRaw rule, the function name is being written to rule["funcname"...
Namespace for new ROOT classes and functions.
void WriteSchemaList(std::list< SchemaRuleMap_t > &rules, const std::string &listName, std::ostream &output)
Write schema rules.
std::map< std::string, ROOT::Internal::TSchemaType > MembersTypeMap_t
bool ParseRule(std::string rule, MembersMap_t &result, std::string &error_string)
Parse the schema rule as specified in the LinkDef file.
void GetRuleIncludes(std::list< std::string > &result)
Get the list of includes specified in the shema rules.
SchemaRuleClassMap_t gReadRules
std::map< std::string, std::string > MembersMap_t
void WriteReadRuleFunc(SchemaRuleMap_t &rule, int index, std::string &mappedName, MembersTypeMap_t &members, std::ostream &output)
Write the conversion function for Read rule, the function name is being written to rule["funcname"]...
void ProcessReadRawPragma(const char *args)
I am being called then a readraw pragma is encountered.
SchemaRuleClassMap_t gReadRawRules
void ProcessReadPragma(const char *args)
I am being called when a read pragma is encountered.
bool HasValidDataMembers(SchemaRuleMap_t &rule, MembersTypeMap_t &members)
Check if given rule contains references to valid data members.
static void output(int code)
std::map< std::string, std::string > SchemaRuleMap_t