ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Typedefs | Functions
RConversionRuleParser.cxx File Reference
#include "RConversionRuleParser.h"
#include "TSchemaRuleProcessor.h"
#include "TMetaUtils.h"
#include <iostream>
#include <algorithm>
#include <string>
#include <utility>
#include <map>
#include <sstream>
Include dependency graph for RConversionRuleParser.cxx:

Go to the source code of this file.

Namespaces

 ROOT
 Namespace for new ROOT classes and functions.
 

Typedefs

typedef std::list< std::pair
< ROOT::Internal::TSchemaType,
std::string > > 
ROOT::SourceTypeList_t
 

Functions

static Bool_t ROOT::ValidateRule (const std::map< std::string, std::string > &rule, std::string &error_string)
 Validate if the user specified rules are correct. More...
 
static std::string::size_type ROOT::FindEndSymbol (std::string &command)
 
Bool_t ROOT::ParseRule (std::string command, std::map< std::string, std::string > &result, std::string &error_string)
 Parse the schema rule as specified in the LinkDef file. More...
 
bool ROOT::HasValidDataMembers (SchemaRuleMap_t &rule, MembersTypeMap_t &members)
 Check if given rule contains references to valid data members. More...
 
static void ROOT::WriteAutoVariables (const std::list< std::string > &target, const SourceTypeList_t &source, MembersTypeMap_t &members, std::string &className, std::string &mappedName, std::ostream &output)
 

Write down the sources

More...
 
void ROOT::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"]. More...
 
void ROOT::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"]. More...
 
static void ROOT::StrReplace (std::string &proc, const std::string &pat, const std::string &tr)
 Replace all accurances of given string with other string. More...
 
void ROOT::WriteSchemaList (std::list< SchemaRuleMap_t > &rules, const std::string &listName, std::ostream &output)
 Write schema rules. More...
 
void ROOT::GetRuleIncludes (std::list< std::string > &result)
 Get the list of includes specified in the shema rules. More...
 
void ROOT::ProcessReadPragma (const char *args)
 I am being called when a read pragma is encountered. More...
 
void ROOT::ProcessReadRawPragma (const char *args)
 I am being called then a readraw pragma is encountered. More...