STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Public Member Functions | Static Public Member Functions | Properties
Function Class Reference

Inherits CodeContainerBase.

Public Member Functions

 Function ()
 
 Function (string name, bool isStatic=false)
 
override void GenerateCode (int level, CGenerator generator)
 
- Public Member Functions inherited from CodeContainerBase
void AddElements (IList< CodeElement > elements, params CodeElement[] spacerElements)
 
CodeElement AddElement (CodeElement element)
 
Code AddCode (string code)
 
Code AddCodeFormat (string codeFormat, params object[] args)
 
CodeElement AddDeclaration (CodeElement declaration)
 

Static Public Member Functions

static Function FromDeclaration (FunctionDeclaration decl)
 

Properties

string Name [get, set]
 
bool IsStatic [get, set]
 
List< VariableTypeParameter [get]
 
VariableType ReturnType [get, set]
 
- Properties inherited from CodeContainerBase
List< CodeElementDeclarations [get]
 
List< CodeElementInnerElements [get]
 
bool IncreaseLevel [get, set]
 

Detailed Description

Definition at line 38 of file Function.cs.

Constructor & Destructor Documentation

Function ( )
inline

Definition at line 46 of file Function.cs.

Function ( string  name,
bool  isStatic = false 
)
inline

Definition at line 50 of file Function.cs.

Member Function Documentation

static Function FromDeclaration ( FunctionDeclaration  decl)
inlinestatic

Definition at line 74 of file Function.cs.

override void GenerateCode ( int  level,
CGenerator  generator 
)
inlinevirtual

Reimplemented from CodeContainerBase.

Definition at line 87 of file Function.cs.

Property Documentation

bool IsStatic
getset

Definition at line 41 of file Function.cs.

string Name
getset

Definition at line 40 of file Function.cs.

List<VariableType> Parameter
get

Definition at line 57 of file Function.cs.

VariableType ReturnType
getset

Definition at line 62 of file Function.cs.


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