Public Member Functions | Public Attributes | Static Public Attributes | List of all members
gtwrap.interface_parser.variable.Variable Class Reference

Public Member Functions

def __init__ (self, List[Type] ctype, str name, ParseResults default=None, parent='')
 
str __repr__ (self)
 

Public Attributes

 ctype
 
 default
 
 name
 
 parent
 

Static Public Attributes

 rule
 

Detailed Description

Rule to parse variables.
Variables are a combination of Type/TemplatedType and the variable identifier.

E.g.
```
class Hello {
    string name;  // This is a property variable.
};

Vector3 kGravity;  // This is a global variable.
````

Definition at line 21 of file variable.py.

Constructor & Destructor Documentation

◆ __init__()

def gtwrap.interface_parser.variable.Variable.__init__ (   self,
List[Type ctype,
str  name,
ParseResults   default = None,
  parent = '' 
)

Definition at line 44 of file variable.py.

Member Function Documentation

◆ __repr__()

str gtwrap.interface_parser.variable.Variable.__repr__ (   self)

Definition at line 54 of file variable.py.

Member Data Documentation

◆ ctype

gtwrap.interface_parser.variable.Variable.ctype

Definition at line 45 of file variable.py.

◆ default

gtwrap.interface_parser.variable.Variable.default

Definition at line 47 of file variable.py.

◆ name

gtwrap.interface_parser.variable.Variable.name

Definition at line 46 of file variable.py.

◆ parent

gtwrap.interface_parser.variable.Variable.parent

Definition at line 48 of file variable.py.

◆ rule

gtwrap.interface_parser.variable.Variable.rule
static

Definition at line 35 of file variable.py.


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


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:53:09