HeaderDoc::Struct
IntroductionAPI object that that describes a data structure
( DiscussionThe This class is a subclass of
Member Functions
_initializeInitializes an instance of a sub _initialize ParameterscloneDuplicates this sub clone ParametersfieldsGets/sets the array of fields that are associated with a struct or union. sub fields ParametersisUnionGets/sets whether this is actually a union. sub isUnion ParametersDiscussionThe same HeaderDoc class is used for both struct and union declarations. This allows you to tell one from the other. printObjectPrints this object for debugging purposes. sub printObject ParameterssetDeclarationSets the declaration. sub setDeclaration ParametersMember Data
FIELDSAn array of fields in this structure.
See $self->{FIELDS}
HeaderDoc::Struct::VERSIONThe revision control revision number for this module. $HeaderDoc::Struct::VERSION = '$Revision: 1298084579 $'; DiscussionIn the git repository, contains the number of seconds since January 1, 1970. ISUNIONHolds 1 if this object holds a union, 0 if it holds a struct.
See $self->{ISUNION}
|