Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4836 in orxonox.OLD for orxonox/trunk/src/lib/util


Ignore:
Timestamp:
Jul 12, 2005, 12:33:16 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: renamed all the \param → @param and so on in Doxygen tags.
Thanks a lot to the kDevelop team. this took since the last commit :)

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

Legend:

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

    r4767 r4836  
    2323
    2424/**
    25    \brief constructs an IniParser using a file
    26    \param filename: the path and name of the file to parse
     25 * constructs an IniParser using a file
     26 * @param filename: the path and name of the file to parse
    2727*/
    2828IniParser::IniParser (const char* filename)
     
    3636
    3737/**
    38    \brief removes the IniParser from memory
     38 * removes the IniParser from memory
    3939*/
    4040IniParser::~IniParser ()
     
    4444
    4545/**
    46    \brief opens another file to parse
    47    \param filename: path and name of the new file to parse
    48    \return zero on success or -1 if an error occured;
     46 * opens another file to parse
     47 * @param filename: path and name of the new file to parse
     48 * @return zero on success or -1 if an error occured;
    4949*/
    5050int IniParser::openFile(const char* filename)
     
    6565
    6666/**
    67    \brief set the parsing cursor to the specified section
    68    \param section: the name of the section to set the cursor to
    69    \return zero on success or -1 if the section could not be found
     67 * set the parsing cursor to the specified section
     68 * @param section: the name of the section to set the cursor to
     69 * @return zero on success or -1 if the section could not be found
    7070*/
    7171int IniParser::getSection( const char* section)
     
    103103
    104104/**
    105    \brief gets the next VarName=VarValue pair from the parsing stream
    106    \param name: a pointer to a buffer to store the name of the entry
    107    \param value: a pointer to a buffer to store the value of the entry
    108    \return zero if the buffers have been filled with data or -1 if there are no entries left in the current section
     105 * gets the next VarName=VarValue pair from the parsing stream
     106 * @param name: a pointer to a buffer to store the name of the entry
     107 * @param value: a pointer to a buffer to store the value of the entry
     108 * @return zero if the buffers have been filled with data or -1 if there are no entries left in the current section
    109109*/
    110110int IniParser::nextVar( const char* name, const char* value)
     
    148148
    149149/**
    150    \brief directly acesses an entry in a section
    151    \param name: the name of the entry to find
    152    \param section: the section where the entry is to be found
    153    \param defvalue: what should be returned in case the entry cannot be found
    154    \return a pointer to a buffer conatining the value of the specified entry. This buffer will contain the data specified in defvalue in case the entry wasn't found
     150 * directly acesses an entry in a section
     151 * @param name: the name of the entry to find
     152 * @param section: the section where the entry is to be found
     153 * @param defvalue: what should be returned in case the entry cannot be found
     154 * @return a pointer to a buffer conatining the value of the specified entry. This buffer will contain the data specified in defvalue in case the entry wasn't found
    155155
    156156   The returned pointer points to an internal buffer, so do not free it on your own. Do not give a NULL pointer to defvalue, this will certainly
  • orxonox/trunk/src/lib/util/ini_parser.h

    r4767 r4836  
    11/*!
    22    \file ini_parser.h
    3     \brief A small ini file parser
     3  * A small ini file parser
    44
    55    Can be used to find a defined [Section] in an ini file and get the VarName=Value entries
  • orxonox/trunk/src/lib/util/list.h

    r4694 r4836  
    2323
    2424/**
    25    \brief an iterator class
     25 * an iterator class
    2626
    2727   this enables the user to iterate through a list very easely
     
    4444
    4545/**
    46    \brief iterator constructor
    47    \param startElement:  the first list element from the tList
     46 * iterator constructor
     47 * @param startElement:  the first list element from the tList
    4848
    4949   normaly you will use it like this:
     
    6868
    6969/**
    70    \brief the destructor
     70 * the destructor
    7171*/
    7272template<class T>
     
    7878
    7979/**
    80    \brief use it to iterate through the list
    81    \returns next list element
     80 * use it to iterate through the list
     81 * @returns next list element
    8282*/
    8383template<class T>
     
    9393
    9494/**
    95    \brief gets the element after the selected one, sets the iterator to this point in the list
    96    \param element the element to seek
    97    \returns next list element
     95 * gets the element after the selected one, sets the iterator to this point in the list
     96 * @param element the element to seek
     97 * @returns next list element
    9898
    9999  Attention: if you seek an element, the iterator pointer will point to the NEXT listelement after the argument!
     
    120120
    121121/**
    122    \brief the list template class
     122 * the list template class
    123123
    124124   you will use this as a generic list for all type of objects
     
    151151
    152152/**
    153    \brief the constructor
     153 * the constructor
    154154*/
    155155template<class T>
     
    163163
    164164/**
    165    \brief the deconstructor
     165 * the deconstructor
    166166
    167167   this will delete only the list. ATTENTION: the list is deleted, but the objects in the list will
     
    186186
    187187/**
    188    \brief add an entity to the list
    189    \param entity: the entity to add
     188 * add an entity to the list
     189 * @param entity: the entity to add
    190190*/
    191191template<class T>
     
    207207
    208208/**
    209    \brief remove an entity from the list
    210    \param entity: the entity to be removed
     209 * remove an entity from the list
     210 * @param entity: the entity to be removed
    211211*/
    212212template<class T>
     
    235235
    236236/**
    237    \brief this will deletes the objects from the list
     237 * this will deletes the objects from the list
    238238*/
    239239template<class T>
     
    255255
    256256/**
    257    \brief returns the first element of the list
    258    \returns first element
     257 * returns the first element of the list
     258 * @returns first element
    259259*/
    260260template<class T>
     
    266266
    267267/**
    268    \brief function returns the last element of the list
    269    \returns the last element
     268 * function returns the last element of the list
     269 * @returns the last element
    270270*/
    271271template<class T>
     
    277277
    278278/**
    279    \brief returns true if the list is empty
    280    \returns true if the list is empty
     279 * returns true if the list is empty
     280 * @returns true if the list is empty
    281281*/
    282282template<class T>
     
    287287
    288288/**
    289    \brief checks if an entity is in the List
    290    \param entity The entity to check for in the entire List.
    291    \returns true if it is, false otherwise
     289 * checks if an entity is in the List
     290 * @param entity The entity to check for in the entire List.
     291 * @returns true if it is, false otherwise
    292292*/
    293293template<class T>
     
    311311
    312312/**
    313    \brief this returns the number of elements in the list
    314    \returns number of elements
     313 * this returns the number of elements in the list
     314 * @returns number of elements
    315315*/
    316316template<class T>
     
    322322
    323323/**
    324    \brief creates an itereator object and returns it
    325    \returns the iterator object to this list
     324 * creates an itereator object and returns it
     325 * @returns the iterator object to this list
    326326
    327327   You will use this, if you want to iterate through the list
     
    337337
    338338/**
    339    \brief this returns the next element after toEntity or the first if toEntity is last
    340    \param toEntity: the entity after which is an entity, that has to be returned, sorry, terrible phrase
    341    \returns the element after toEntity
     339 * this returns the next element after toEntity or the first if toEntity is last
     340 * @param toEntity: the entity after which is an entity, that has to be returned, sorry, terrible phrase
     341 * @returns the element after toEntity
    342342*/
    343343template<class T>
     
    359359
    360360/**
    361    \brief creates an array out of the list (ATTENTION: not implemented)
    362    \returns pointer to the array beginning
     361 * creates an array out of the list (ATTENTION: not implemented)
     362 * @returns pointer to the array beginning
    363363
    364364   ATTENTION: function is not implemented and wont do anything
  • orxonox/trunk/src/lib/util/substring.cc

    r4833 r4836  
    1818
    1919/**
    20    \brief breaks a string into parts that were initially seperated by comma
    21    \param string the string to break into substrings
     20 * breaks a string into parts that were initially seperated by comma
     21 * @param string the string to break into substrings
    2222*/
    2323
     
    6868
    6969/**
    70    \brief removes the object from memory
     70 * removes the object from memory
    7171*/
    7272SubString::~SubString()
     
    8181
    8282/**
    83    \brief get a particular substring
    84    \param i the ID of the substring to return
    85    \returns the designated substring or NULL if an invalid ID was given
     83 * get a particular substring
     84 * @param i the ID of the substring to return
     85 * @returns the designated substring or NULL if an invalid ID was given
    8686*/
    8787const char* SubString::getString( int i)
Note: See TracChangeset for help on using the changeset viewer.