Inherits SnmpNode.
Inherited by SnmpScalarNodeBits, SnmpScalarNodeCounter64, SnmpScalarNodeInt, SnmpScalarNodeObjectIdentifier, SnmpScalarNodeOctetString, and SnmpScalarNodeUint.
|
| 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) |
|
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...
|
|
|
virtual void | GenerateGetMethodCodeCore (CodeContainerBase container, string localValueVarName, ref bool localValueVarUsed, string retLenVarName) |
|
virtual void | GenerateTestMethodCodeCore (CodeContainerBase container, string localValueVarName, ref bool localValueVarUsed, string lenVarName, ref bool lenVarUsed, string retErrVarName) |
|
virtual void | GenerateSetMethodCodeCore (CodeContainerBase container, string localValueVarName, ref bool localValueVarUsed, string lenVarName, ref bool lenVarUsed, string retErrVarName) |
|
virtual bool | GenerateValueDeclaration (CodeContainerBase container, string variableName, string sourceName) |
|
| SnmpNode (SnmpTreeNode parentNode) |
|
Definition at line 39 of file SnmpScalarNode.cs.
override void GenerateCode |
( |
MibCFile |
mibFile | ) |
|
|
inlinevirtual |
virtual void GenerateGetMethodCode |
( |
CodeContainerBase |
container, |
|
|
string |
valueVarName, |
|
|
ref bool |
valueVarUsed, |
|
|
string |
retLenVarName |
|
) |
| |
|
inlinevirtual |
virtual void GenerateGetMethodCodeCore |
( |
CodeContainerBase |
container, |
|
|
string |
localValueVarName, |
|
|
ref bool |
localValueVarUsed, |
|
|
string |
retLenVarName |
|
) |
| |
|
inlineprotectedvirtual |
virtual void GenerateSetMethodCode |
( |
CodeContainerBase |
container, |
|
|
string |
valueVarName, |
|
|
ref bool |
valueVarUsed, |
|
|
string |
lenVarName, |
|
|
ref bool |
lenVarUsed, |
|
|
string |
retErrVarName |
|
) |
| |
|
inlinevirtual |
virtual void GenerateSetMethodCodeCore |
( |
CodeContainerBase |
container, |
|
|
string |
localValueVarName, |
|
|
ref bool |
localValueVarUsed, |
|
|
string |
lenVarName, |
|
|
ref bool |
lenVarUsed, |
|
|
string |
retErrVarName |
|
) |
| |
|
inlineprotectedvirtual |
virtual void GenerateTestMethodCode |
( |
CodeContainerBase |
container, |
|
|
string |
valueVarName, |
|
|
ref bool |
valueVarUsed, |
|
|
string |
lenVarName, |
|
|
ref bool |
lenVarUsed, |
|
|
string |
retErrVarName |
|
) |
| |
|
inlinevirtual |
virtual void GenerateTestMethodCodeCore |
( |
CodeContainerBase |
container, |
|
|
string |
localValueVarName, |
|
|
ref bool |
localValueVarUsed, |
|
|
string |
lenVarName, |
|
|
ref bool |
lenVarUsed, |
|
|
string |
retErrVarName |
|
) |
| |
|
inlineprotectedvirtual |
virtual bool GenerateValueDeclaration |
( |
CodeContainerBase |
container, |
|
|
string |
variableName, |
|
|
string |
sourceName |
|
) |
| |
|
inlineprotectedvirtual |
const string LocalValueName = "v" |
|
protected |
string ExternalTestMethod |
|
getset |
virtual string FixedValueLength |
|
get |
override string FullNodeName |
|
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.
Definition at line 89 of file SnmpScalarNode.cs.
The documentation for this class was generated from the following file:
- C:/Users/Torsten/Documents/Eclipse_WS2/STM32F769IDiscovery/Middlewares/Third_Party/LwIP/src/apps/snmp/LwipMibCompiler/LwipSnmpCodeGeneration/SnmpScalarNode.cs