net.percederberg.mibble
Class MibMacroSymbol

java.lang.Object
  extended by net.percederberg.mibble.MibSymbol
      extended by net.percederberg.mibble.MibMacroSymbol

public class MibMacroSymbol
extends MibSymbol

A MIB macro symbol. This class holds information relevant to a MIB macro definition, i.e. a defined macro name.

Since:
2.6

Method Summary
 void initialize(MibLoaderLog log)
          Initializes the MIB symbol.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class net.percederberg.mibble.MibSymbol
getComment, getLocation, getMib, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

initialize

public void initialize(MibLoaderLog log)
                throws MibException
Initializes the MIB symbol. This will remove all levels of indirection present, such as references to types or values. No information is lost by this operation. This method may modify this object as a side-effect.

NOTE: This is an internal method that should only be called by the MIB loader.

Specified by:
initialize in class MibSymbol
Parameters:
log - the MIB loader log
Throws:
MibException - if an error was encountered during the initialization

toString

public java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of this object