4 #ifndef R__CONVERSION_RULE_PARSER_H 5 #define R__CONVERSION_RULE_PARSER_H 13 #ifndef ROOT_RConfigure 14 #include "RConfigure.h" 17 #ifndef R__TSCHEMATYPE_H 52 std::string& mappedName,
53 MembersTypeMap_t& members, std::ostream&
output );
60 std::string& mappedName,
61 MembersTypeMap_t& members, std::ostream&
output );
67 const std::string& listName, std::ostream&
output );
77 bool ParseRule( std::string rule, MembersMap_t &
result, std::string &error_string );
90 #endif // R__CONVERSION_RULE_PARSER_H 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"...
std::map< std::string, ROOT::Internal::TSchemaType > MembersTypeMap_t
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
void WriteSchemaList(std::list< SchemaRuleMap_t > &rules, const std::string &listName, std::ostream &output)
Write schema rules.
bool HasValidDataMembers(SchemaRuleMap_t &rule, MembersTypeMap_t &members)
Check if given rule contains references to valid data members.
bool ParseRule(std::string rule, MembersMap_t &result, std::string &error_string)
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::list< SchemaRuleMap_t > > SchemaRuleClassMap_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.
std::map< std::string, std::string > MembersMap_t
std::map< std::string, std::string > SchemaRuleMap_t