STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Public Member Functions | Static Public Attributes | Protected Member Functions | Properties
SnmpNode Class Referenceabstract

Inherited by SnmpScalarAggregationNode, and SnmpScalarNode.

Public Member Functions

virtual void Generate (MibCFile generatedFile, MibHeaderFile generatedHeaderFile)
 
abstract void GenerateCode (MibCFile mibFile)
 
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...
 

Static Public Attributes

static readonly Regex NameValidationRegex = new Regex(@"^\w+$")
 

Protected Member Functions

 SnmpNode (SnmpTreeNode parentNode)
 

Properties

SnmpTreeNode ParentNode [get]
 
virtual uint Oid [get, set]
 
abstract string FullNodeName [get]
 
virtual string Name [get, set]
 

Detailed Description

Definition at line 39 of file SnmpNode.cs.

Constructor & Destructor Documentation

SnmpNode ( SnmpTreeNode  parentNode)
inlineprotected

Definition at line 46 of file SnmpNode.cs.

Member Function Documentation

virtual void Analyze ( )
inlinevirtual

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

Returns
The transformed node or null if nothing shall be changed in parent structure.

Reimplemented in SnmpTreeNode, and SnmpScalarAggregationNode.

Definition at line 115 of file SnmpNode.cs.

virtual void Generate ( MibCFile  generatedFile,
MibHeaderFile  generatedHeaderFile 
)
inlinevirtual

Reimplemented in SnmpTreeNode.

Definition at line 81 of file SnmpNode.cs.

abstract void GenerateCode ( MibCFile  mibFile)
pure virtual
virtual void GenerateHeaderCode ( MibHeaderFile  mibHeaderFile)
inlinevirtual

Reimplemented in SnmpMib.

Definition at line 101 of file SnmpNode.cs.

Field Documentation

readonly Regex NameValidationRegex = new Regex(@"^\w+$")
static

Definition at line 41 of file SnmpNode.cs.

Property Documentation

abstract string FullNodeName
get

Definition at line 59 of file SnmpNode.cs.

virtual string Name
getset

Definition at line 64 of file SnmpNode.cs.

virtual uint Oid
getset

Definition at line 56 of file SnmpNode.cs.

SnmpTreeNode ParentNode
get

Definition at line 52 of file SnmpNode.cs.


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