STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Public Member Functions | Protected Member Functions
SnmpScalarNodeObjectIdentifier Class Reference

Inherits SnmpScalarNode.

Public Member Functions

 SnmpScalarNodeObjectIdentifier (SnmpTreeNode parentNode)
 
- Public Member Functions inherited from SnmpScalarNode
 SnmpScalarNode (SnmpTreeNode parentNode)
 
override void GenerateCode (MibCFile mibFile)
 
virtual void GenerateGetMethodCode (CodeContainerBase container, string valueVarName, ref bool valueVarUsed, string retLenVarName)
 
virtual void GenerateTestMethodCode (CodeContainerBase container, string valueVarName, ref bool valueVarUsed, string lenVarName, ref bool lenVarUsed, string retErrVarName)
 
virtual void GenerateSetMethodCode (CodeContainerBase container, string valueVarName, ref bool valueVarUsed, string lenVarName, ref bool lenVarUsed, string retErrVarName)
 
- Public Member Functions inherited from SnmpNode
virtual void Generate (MibCFile generatedFile, MibHeaderFile generatedHeaderFile)
 
virtual void GenerateHeaderCode (MibHeaderFile mibHeaderFile)
 
virtual void Analyze ()
 Called after node structure creation is completed and before code is created. Offers the possibility to perform operations depending on properties/subnodes. If the node shall be transformed to another node(-type) than the own instance may be replaced on parent node by the transformed instance. Calling sequence is always from leafs up to root. So a tree node can assume that the analyze method was already called on all child nodes. E.g. a tree node only has scalar sub nodes -> it transforms itself to a scalar array node More...
 

Protected Member Functions

override bool GenerateValueDeclaration (CodeContainerBase container, string variableName, string sourceName)
 
override void GenerateGetMethodCodeCore (CodeContainerBase container, string localValueVarName, ref bool localValueVarUsed, string retLenVarName)
 
override void GenerateTestMethodCodeCore (CodeContainerBase container, string localValueVarName, ref bool localValueVarUsed, string lenVarName, ref bool lenVarUsed, string retErrVarName)
 
override void GenerateSetMethodCodeCore (CodeContainerBase container, string localValueVarName, ref bool localValueVarUsed, string lenVarName, ref bool lenVarUsed, string retErrVarName)
 
- Protected Member Functions inherited from SnmpNode
 SnmpNode (SnmpTreeNode parentNode)
 

Additional Inherited Members

- Static Public Member Functions inherited from SnmpScalarNode
static SnmpScalarNode CreateFromDatatype (SnmpDataType dataType, SnmpTreeNode parentNode)
 
- Static Public Attributes inherited from SnmpNode
static readonly Regex NameValidationRegex = new Regex(@"^\w+$")
 
- Protected Attributes inherited from SnmpScalarNode
const string LocalValueName = "v"
 
- Properties inherited from SnmpScalarNode
override string FullNodeName [get]
 
SnmpDataType DataType [get, set]
 
List< IRestrictionRestrictions [get]
 
SnmpAccessMode AccessMode [get, set]
 
virtual string FixedValueLength [get]
 
virtual int OidRepresentationLen [get]
 If scalar is used as a table index its value becomes part of the OID. This value returns how many OID parts are required to represent this value. More...
 
bool UseExternalMethods [get, set]
 
string ExternalGetMethod [get, set]
 
string ExternalTestMethod [get, set]
 
string ExternalSetMethod [get, set]
 
- Properties inherited from SnmpNode
SnmpTreeNode ParentNode [get]
 
virtual uint Oid [get, set]
 
abstract string FullNodeName [get]
 
virtual string Name [get, set]
 

Detailed Description

Definition at line 38 of file SnmpScalarNodeObjectIdentifier.cs.

Constructor & Destructor Documentation

Definition at line 40 of file SnmpScalarNodeObjectIdentifier.cs.

Member Function Documentation

override void GenerateGetMethodCodeCore ( CodeContainerBase  container,
string  localValueVarName,
ref bool  localValueVarUsed,
string  retLenVarName 
)
inlineprotectedvirtual

Reimplemented from SnmpScalarNode.

Definition at line 55 of file SnmpScalarNodeObjectIdentifier.cs.

override void GenerateSetMethodCodeCore ( CodeContainerBase  container,
string  localValueVarName,
ref bool  localValueVarUsed,
string  lenVarName,
ref bool  lenVarUsed,
string  retErrVarName 
)
inlineprotectedvirtual

Reimplemented from SnmpScalarNode.

Definition at line 76 of file SnmpScalarNodeObjectIdentifier.cs.

override void GenerateTestMethodCodeCore ( CodeContainerBase  container,
string  localValueVarName,
ref bool  localValueVarUsed,
string  lenVarName,
ref bool  lenVarUsed,
string  retErrVarName 
)
inlineprotectedvirtual

Reimplemented from SnmpScalarNode.

Definition at line 62 of file SnmpScalarNodeObjectIdentifier.cs.

override bool GenerateValueDeclaration ( CodeContainerBase  container,
string  variableName,
string  sourceName 
)
inlineprotectedvirtual

Reimplemented from SnmpScalarNode.

Definition at line 46 of file SnmpScalarNodeObjectIdentifier.cs.


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