Functions | Variables
snippets::generators::make_structs Namespace Reference

Functions

def cpp_create_structs
def create_datatypes
def create_messages
def gen_factory_initializer
def gen_names

Variables

tuple args = parser.parse_args()
tuple gen = CppGen()
string help = 'the structure XML definition file'
tuple parser = argparse.ArgumentParser(description='Create C++ or Java structures from XML defintion.')

Function Documentation

def snippets.generators.make_structs.cpp_create_structs (   gen,
  definition,
  folder,
  name 
)

Definition at line 120 of file make_structs.py.

def snippets.generators.make_structs.create_datatypes (   xmlroot,
  gen,
  folder = '' 
)

Definition at line 40 of file make_structs.py.

def snippets.generators.make_structs.create_messages (   xmlroot,
  gen,
  prefix,
  folder = '' 
)

Definition at line 61 of file make_structs.py.

def snippets.generators.make_structs.gen_factory_initializer (   structs,
  bindent = '',
  indent = '  ' 
)
Generates the factory map initializer.
    
bindent -- the current indent in the document
indent -- the usual minimum indentation

Definition at line 9 of file make_structs.py.

def snippets.generators.make_structs.gen_names (   structs,
  bindent = '',
  indent = '  ' 
)
Generates the human readable names of CIDs.
    
bindent -- the current indent in the document
indent -- the usual minimum indentation

Definition at line 24 of file make_structs.py.


Variable Documentation

Definition at line 157 of file make_structs.py.

Definition at line 160 of file make_structs.py.

string snippets::generators::make_structs::help = 'the structure XML definition file'

Definition at line 151 of file make_structs.py.

tuple snippets::generators::make_structs::parser = argparse.ArgumentParser(description='Create C++ or Java structures from XML defintion.')

Definition at line 149 of file make_structs.py.



snippets
Author(s): Gyula Nagy
autogenerated on Fri Aug 28 2015 11:22:33