4 #ifndef R__CONVERSION_RULE_PARSER_H 5 #define R__CONVERSION_RULE_PARSER_H 13 #include "RConfigure.h" 39 std::string& error_string);
45 std::string& mappedName,
46 MembersTypeMap_t& members, std::ostream&
output );
53 std::string& mappedName,
54 MembersTypeMap_t& members, std::ostream&
output );
60 const std::string& listName, std::ostream&
output );
83 #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
Namespace for new ROOT classes and functions.
void WriteSchemaList(std::list< SchemaRuleMap_t > &rules, const std::string &listName, std::ostream &output)
Write schema rules.
void ProcessReadPragma(const char *args, std::string &error_string)
I am being called when a read pragma is encountered.
bool HasValidDataMembers(SchemaRuleMap_t &rule, MembersTypeMap_t &members, std::string &error_string)
Check if given rule contains references to valid data members.
void GetRuleIncludes(std::list< std::string > &result)
Get the list of includes specified in the shema rules.
R__EXTERN 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, std::string &error_string)
I am being called then a readraw pragma is encountered.
R__EXTERN SchemaRuleClassMap_t gReadRawRules
bool ParseRule(std::string rule, ROOT::Internal::MembersMap_t &result, std::string &error_string)
Parse the schema rule as specified in the LinkDef file.
std::map< std::string, std::string > SchemaRuleMap_t
std::map< std::string, std::string > MembersMap_t