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,
 
   53                              std::string& mappedName,
 
   60                         const std::string& listName, std::ostream& 
output );
 
std::map< std::string, std::string > MembersMap_t
 
std::map< std::string, std::list< SchemaRuleMap_t > > SchemaRuleClassMap_t
 
void ProcessReadPragma(const char *args, std::string &error_string)
I am being called when a read pragma is encountered.
 
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
 
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"].
 
R__EXTERN SchemaRuleClassMap_t gReadRules
 
std::map< std::string, std::string > SchemaRuleMap_t
 
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.
 
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"...
 
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.
 
static void output(int code)