Class to handle a Doxyfile. More...
Public Member Functions | |
DoxyUDT (BYREF_AS_STRING) | |
constructor loading and parsing a Doxyfile More... | |
~DoxyUDT () | |
destructor freeing the used memory More... | |
FUNCTION_AS_STRING | Search (BYREF_AS_STRING, BYREF_AS_INTEGER) |
find a single line tag in the Doxyfile and return its value More... | |
PROPERTY_AS_STRING | Tag (BYVAL_AS_INTEGER) |
return a tag value More... | |
Public Attributes | |
INTEGER | Length |
the length of the buffer More... | |
UBYTE_PTR | Buffer |
the buffer data More... | |
ZSTRING_PTR | Doxy = "empty" |
a pointer to interprete the data as STRING More... | |
STRING | Errr |
an error message (if any) More... | |
STRING | Tags [XML_OUTPUT+1] |
an array containing the tags context More... | |
Class to handle a Doxyfile.
Load a Doxygen configuration file and parse its contents. In case of a failure in finding or loading the file, the variable DoxyUDT.Errr gets set in the constructor. It points to NULL
(is empty) on success.
Currently only the first entry in a multi line tag gets parsed (just the first parameter of a lists).
Definition at line 46 of file fbdoc_doxyfile.bi.
DoxyUDT::DoxyUDT | ( | BYREF_AS_STRING | Fnam | ) |
constructor loading and parsing a Doxyfile
Fnam | The (path and) file name |
The constructor tries to find, load and parse the Doxyfile. In case of failure the variable Errr contains an error message. Otherwise Errr is empty and the tags listed in enum DoxyTags get parsed from the Doxyfile by the member function Search().
Definition at line 34 of file fbdoc_doxyfile.bas.
DoxyUDT::~DoxyUDT | ( | ) |
destructor freeing the used memory
The destructor frees the memory (allocated in the constructor, if any).
Definition at line 96 of file fbdoc_doxyfile.bas.
FUNCTION_AS_STRING DoxyUDT::Search | ( | BYREF_AS_STRING | Su, |
BYREF_AS_INTEGER | Po | ||
) |
find a single line tag in the Doxyfile and return its value
Su | the tag to search for |
Po | the position of the tag |
This function is designed to find the value of a Doxyfile tag. It returns the tag context, or an empty string if the tag has no value or cannot be found.
The Doxyfile is searched in reverse direction (from end to start), in order to find overrides first.
Definition at line 132 of file fbdoc_doxyfile.bas.
PROPERTY_AS_STRING DoxyUDT::Tag | ( | BYVAL_AS_INTEGER | I | ) |
return a tag value
I | the index of the tag to get |
This property returns the value of a Doxyfile tag. This is the context of the tag array at index I (an empty STRING
if the tag has no value). Use enumerators DoxyTags for index values (since there's no error checking agianst index out of range).
Definition at line 111 of file fbdoc_doxyfile.bas.
INTEGER DoxyUDT::Length |
the length of the buffer
Definition at line 47 of file fbdoc_doxyfile.bi.
UBYTE_PTR DoxyUDT::Buffer |
the buffer data
Definition at line 48 of file fbdoc_doxyfile.bi.
ZSTRING_PTR DoxyUDT::Doxy = "empty" |
a pointer to interprete the data as STRING
Definition at line 50 of file fbdoc_doxyfile.bi.
STRING DoxyUDT::Errr |
an error message (if any)
Definition at line 52 of file fbdoc_doxyfile.bi.
STRING DoxyUDT::Tags[XML_OUTPUT+1] |
an array containing the tags context
Definition at line 52 of file fbdoc_doxyfile.bi.