Public Member Functions | Public Attributes | Static Private Attributes
snippets.generators.elements.function.Function Class Reference

List of all members.

Public Member Functions

def __init__
def from_xml

Public Attributes

 args
 body
 inline
 name
 qual
 ret
 static

Static Private Attributes

string _XMLTAG = 'fun'

Detailed Description

Represents the C++ function in the object form.

Class attributes:
_XMLTAG -- constant string with the xml tag description

Definition at line 39 of file elements/function.py.


Constructor & Destructor Documentation

def snippets.generators.elements.function.Function.__init__ (   self,
  xmlnode = None 
)
Populates the variable from a XML node info.
When the XML node is not defined, does nothing.

xmlnode -- the XML node with the member definition
    
Required attributes:
name -- name of the function
Optional attributes:
ret -- the return type
inline -- flag if the function is to be inlined
qual -- the qualifer of the functon

Definition at line 48 of file elements/function.py.


Member Function Documentation

Extracts the variable attributes from the XML node.

xmlnode -- the XML node with the member definition

Definition at line 73 of file elements/function.py.


Member Data Documentation

Definition at line 46 of file elements/function.py.

Definition at line 60 of file elements/function.py.

Definition at line 60 of file elements/function.py.

Definition at line 60 of file elements/function.py.

Definition at line 60 of file elements/function.py.

Definition at line 60 of file elements/function.py.

Definition at line 60 of file elements/function.py.

Definition at line 60 of file elements/function.py.


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


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