Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5017 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Aug 14, 2005, 5:43:02 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: doxygen tags

Location:
orxonox/trunk/src/lib/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/util/ini_parser.cc

    r5015 r5017  
    2929/**
    3030 *  constructs an IniParser using a file
    31  * @param filename: the path and name of the file to parse
     31 * @param fileName: the path and name of the file to parse
    3232*/
    3333IniParser::IniParser (const char* fileName)
     
    8888/**
    8989 * opens another file to parse
    90  * @param filename: path and name of the new file to parse
     90 * @param fileName: path and name of the new file to parse
    9191 * @return true on success false otherwise;
    9292*/
     
    317317}
    318318
     319/**
     320 * output the whole tree in a nice and easy way.
     321 */
    319322void IniParser::debug() const
    320323{
  • orxonox/trunk/src/lib/util/ini_parser.h

    r5015 r5017  
    2424  private:
    2525    ////////////////////////////////////
     26    //! a struct for Entries in the Parser's File's Sections
    2627    struct IniEntry
    2728    {
    28       char*              name;
    29       char*              value;
     29      char*              name;     //!< name of a given Entry
     30      char*              value;    //!< value of a given Entry
    3031    };
    31 
     32    //! a struct for Sections in the Parser's file
    3233    struct IniSection
    3334    {
    34       char*               name;
    35       tList<IniEntry>*    entries;
     35      char*               name;    //!< name of a given section
     36      tList<IniEntry>*    entries; //!< a list of entries for this section
    3637    };
    3738    ////////////////////////////////////
     
    6970
    7071  private:
    71     tList<IniSection>*    sections;
    72     IniSection*           currentSection;
    73     IniEntry*             currentEntry;
     72    tList<IniSection>*    sections;        //!< a list of all stored Sections of the Parser
     73    IniSection*           currentSection;  //!< the current selected Section
     74    IniEntry*             currentEntry;    //!< the current selected entry (in currentSection)
    7475};
    7576
Note: See TracChangeset for help on using the changeset viewer.