EmbeddedProto  2.0.0
EmbeddedProto is a C++ Protocol Buffer implementation specifically suitable for microcontrollers.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
support.Field.Field Class Reference
Inheritance diagram for support.Field.Field:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, proto_descriptor, parent_msg, template_filename, oneof=None)
 
def get_wire_type_str (self)
 
def get_type (self)
 
def get_short_type (self)
 
def get_default_value (self)
 
def get_name (self)
 
def get_variable_name (self)
 
def get_variable_id_name (self)
 
def get_template_parameters (self)
 
def match_field_with_definitions (self, all_types_definitions)
 
def register_template_parameters (self)
 
def oneof_allocation_required (self)
 
def get_oneof_name (self)
 
def get_which_oneof (self)
 
def get_reduced_scope (self)
 
def render (self, filename, jinja_environment)
 

Static Public Member Functions

def factory (proto_descriptor, parent_msg, oneof=None, already_nested=False)
 

Public Attributes

 descriptor
 
 parent
 
 oneof
 
 name
 
 variable_name
 
 variable_id_name
 
 variable_id
 
 template_file
 
 of_type_enum
 

Constructor & Destructor Documentation

◆ __init__()

def support.Field.Field.__init__ (   self,
  proto_descriptor,
  parent_msg,
  template_filename,
  oneof = None 
)

Member Function Documentation

◆ factory()

def support.Field.Field.factory (   proto_descriptor,
  parent_msg,
  oneof = None,
  already_nested = False 
)
static

◆ get_default_value()

def support.Field.Field.get_default_value (   self)

◆ get_name()

def support.Field.Field.get_name (   self)

◆ get_oneof_name()

def support.Field.Field.get_oneof_name (   self)

◆ get_reduced_scope()

def support.Field.Field.get_reduced_scope (   self)

◆ get_short_type()

def support.Field.Field.get_short_type (   self)

◆ get_template_parameters()

def support.Field.Field.get_template_parameters (   self)

◆ get_type()

def support.Field.Field.get_type (   self)

◆ get_variable_id_name()

def support.Field.Field.get_variable_id_name (   self)

◆ get_variable_name()

def support.Field.Field.get_variable_name (   self)

◆ get_which_oneof()

def support.Field.Field.get_which_oneof (   self)

◆ get_wire_type_str()

def support.Field.Field.get_wire_type_str (   self)

◆ match_field_with_definitions()

def support.Field.Field.match_field_with_definitions (   self,
  all_types_definitions 
)

◆ oneof_allocation_required()

def support.Field.Field.oneof_allocation_required (   self)

◆ register_template_parameters()

def support.Field.Field.register_template_parameters (   self)

◆ render()

def support.Field.Field.render (   self,
  filename,
  jinja_environment 
)

Member Data Documentation

◆ descriptor

support.Field.Field.descriptor

◆ name

support.Field.Field.name

◆ of_type_enum

support.Field.Field.of_type_enum

◆ oneof

support.Field.Field.oneof

◆ parent

support.Field.Field.parent

◆ template_file

support.Field.Field.template_file

◆ variable_id

support.Field.Field.variable_id

◆ variable_id_name

support.Field.Field.variable_id_name

◆ variable_name

support.Field.Field.variable_name

The documentation for this class was generated from the following file: