Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 1, 2007, 4:24:56 AM (16 years ago)
Author:
landauf
Message:

added comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/core/IdentifierList.h

    r258 r365  
    11#ifndef _IdentifierList_H__
     2/*!
     3    @file IdentifierList.h
     4    @brief Definition of the IdentifierList class
     5
     6    The IdentifierList is a single-linked list, containing Identifiers.
     7    The IdentifierList is used to store parents and childs of each Identifier.
     8*/
     9
    210#define _IdentifierList_H__
    311
     
    614namespace orxonox
    715{
    8     class Identifier;
     16    class Identifier; // Forward declaration
    917
     18    //! The list-element of the IdentifierList
    1019    class IdentifierListElement
    1120    {
    1221        public:
    1322            IdentifierListElement(const Identifier* identifier);
    14             ~IdentifierListElement();
    1523
    16             const Identifier* identifier_;
    17             IdentifierListElement* next_;
     24            const Identifier* identifier_;      //!< The identifier
     25            IdentifierListElement* next_;       //!< The next element in the list
    1826    };
    1927
     28    //! The IdentifierList contains Identifiers
    2029    class IdentifierList
    2130    {
     
    2837            std::string toString() const;
    2938
    30             IdentifierListElement* first_;
     39            IdentifierListElement* first_;      //!< The first element in the list
    3140    };
    3241}
Note: See TracChangeset for help on using the changeset viewer.