OpenNet
Public Member Functions | List of all members
OpenNet::Function Class Reference

The Function class. More...

#include <Function.h>

Inheritance diagram for OpenNet::Function:
OpenNet::SourceCode OpenNet::Function_Forward

Public Member Functions

OPEN_NET_PUBLIC Function ()
 Constructor.
 
OPEN_NET_PUBLIC const char * GetFunctionName () const
 Retrieve the function name. More...
 
virtual Status SetFunctionName (const char *aFunctionName)
 Set the function name. More...
 
virtual OPEN_NET_PUBLIC Status Display (FILE *aOut) const
 Display. More...
 
- Public Member Functions inherited from OpenNet::SourceCode
OPEN_NET_PUBLIC SourceCode ()
 Constructor.
 
virtual OPEN_NET_PUBLIC ~SourceCode ()
 Destructor.
 
OPEN_NET_PUBLIC Status AppendCode (const char *aFileName)
 Append code using a source file. More...
 
virtual OPEN_NET_PUBLIC Status AppendCode (const char *aCode, unsigned int aCodeSize_byte)
 Appen code. More...
 
OPEN_NET_PUBLIC Status AppendCode (const SourceCode &aCode)
 Appen code. More...
 
OPEN_NET_PUBLIC unsigned int GetCodeSize () const
 Get code size. More...
 
OPEN_NET_PUBLIC const char * GetName () const
 Retrieve the instance name. More...
 
virtual OPEN_NET_PUBLIC Status ResetCode ()
 Reset the code. More...
 
virtual OPEN_NET_PUBLIC Status SetArgumentCount (unsigned int aArgCount)
 Set the number of argument for the function or kernel. More...
 
virtual OPEN_NET_PUBLIC Status SetCode (const char *aFileName)
 Set the code using a source file. More...
 
virtual OPEN_NET_PUBLIC Status SetCode (const char *aCode, unsigned int aCodeSize_byte)
 Set the code. More...
 
OPEN_NET_PUBLIC Status SetName (const char *aName)
 Set the instance's name. More...
 
virtual OPEN_NET_PUBLIC unsigned int Edit_Remove (const char *aSearch)
 Remove strings from code. More...
 
virtual OPEN_NET_PUBLIC unsigned int Edit_Replace (const char *aSearch, const char *aReplace)
 Replace strings in code. More...
 
OPEN_NET_PUBLIC unsigned int Edit_Search (const char *aSearch)
 Search string in code. More...
 

Detailed Description

The Function class.

Member Function Documentation

virtual OPEN_NET_PUBLIC Status OpenNet::Function::Display ( FILE *  aOut) const
virtual

Display.

Parameters
aOutThe output stream
Return values
STATUS_OK
STATUS_NOT_ALLOWER_NULL_ARGUMENT

Reimplemented from OpenNet::SourceCode.

Reimplemented in OpenNet::Function_Forward.

OPEN_NET_PUBLIC const char* OpenNet::Function::GetFunctionName ( ) const

Retrieve the function name.

Returns
This method returns the address of an internal variable.
See also
SetFunctionName
virtual Status OpenNet::Function::SetFunctionName ( const char *  aFunctionName)
virtual

Set the function name.

Parameters
aFunctionNameThe function name
Return values
STATUS_OK
STATUS_NOT_ALLOWED_NULL_ARGUMENT
See also
GetFunctionName

Reimplemented in OpenNet::Function_Forward.


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