ICG 2
Electric Boogaloo
Variables
ICG_io_src_templates.hpp File Reference
#include <map>
#include <string>

Go to the source code of this file.

Variables

std::string io_src
 
std::string call_class_decl
 
std::string class_type_decl
 
std::string derived_field_decl
 
std::string field_decl
 
std::string stl_decl
 
std::string typedef_decl
 
std::string add_base_members_to_self
 
std::string add_base_members_to_derived
 
std::map< std::string, std::string > template_dictionary
 

Variable Documentation

◆ add_base_members_to_derived

std::string add_base_members_to_derived
Initial value:
= std::string(R"(
auto derived_members = SpecifiedCompositeType<{{BaseClassName}}>::applyMembersToDerived<Derived>();
derived_member_map.insert(derived_members.begin(), derived_members.end());
)")

◆ add_base_members_to_self

std::string add_base_members_to_self
Initial value:
= std::string(R"(
auto derived_members = SpecifiedCompositeType<{{BaseClassName}}>::applyMembersToDerived<{{ClassName}}>();
member_map.insert(derived_members.begin(), derived_members.end());
)")

◆ call_class_decl

std::string call_class_decl
Initial value:
= std::string(R"(dataTypeInator->addToDictionary("{{ClassName}}", new SpecifiedCompositeType<{{ClassName}}>);
)")

◆ class_type_decl

std::string class_type_decl

◆ derived_field_decl

std::string derived_field_decl
Initial value:
= std::string (R"({"{{FieldName}}", StructMember("{{FieldName}}", "{{FieldType}}", offsetof(Derived, type_to_add::{{FieldName}}))},
)")

◆ field_decl

std::string field_decl
Initial value:
= std::string(R"({"{{FieldName}}", StructMember("{{FieldName}}", "{{FieldType}}", offsetof(type_to_add, {{FieldName}}))},
)")

◆ io_src

std::string io_src

◆ stl_decl

std::string stl_decl
Initial value:
= std::string(R"(dataTypeInator->addToDictionary("{{STLName}}", new SpecifiedSequenceDataType<{{STLName}}>("{{STLName}}"));
)")

◆ template_dictionary

std::map<std::string, std::string> template_dictionary
Initial value:
{
{"top", io_src},
{"call_class_decl", call_class_decl},
{"class_type_decl", class_type_decl},
{"field_decl", field_decl},
{"derived_field_decl", derived_field_decl},
{"add_base_members_to_self", add_base_members_to_self},
{"add_base_members_to_derived", add_base_members_to_derived},
{"stl_decl", stl_decl},
{"typedef_decl", typedef_decl}
}
std::string derived_field_decl
Definition: ICG_io_src_templates.hpp:91
std::string stl_decl
Definition: ICG_io_src_templates.hpp:97
std::string class_type_decl
Definition: ICG_io_src_templates.hpp:44
std::string add_base_members_to_self
Definition: ICG_io_src_templates.hpp:103
std::string call_class_decl
Definition: ICG_io_src_templates.hpp:41
std::string io_src
Definition: ICG_io_src_templates.hpp:6
std::string typedef_decl
Definition: ICG_io_src_templates.hpp:100
std::string field_decl
Definition: ICG_io_src_templates.hpp:94
std::string add_base_members_to_derived
Definition: ICG_io_src_templates.hpp:108

◆ typedef_decl

std::string typedef_decl
Initial value:
= std::string(R"(dataTypeInator->addTypeDef("{{ExistingName}}", "{{AliasName}}");
)")