Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 8, 2006, 12:20:55 PM (18 years ago)
Author:
bensch
Message:

many many documentations and one new functiopm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/lang/object_list.cc

    r9716 r9724  
    9898/**
    9999 * @brief Checks if a Class with name already exists.
    100  * @param name The Name of the Class to check.
     100 * @param id The id of the Class to check.
    101101 * @return true if such a class already exists.
    102102 */
     
    233233}
    234234
     235
     236/**
     237 * @returns An alphabetically sorted List of all stored ClassNames.
     238 */
     239const std::list<std::string>& ObjectListBase::getClassNames()
     240{
     241  if (ObjectListBase::classCount() != ObjectListBase::_classNames.size())
     242  {
     243    ObjectListBase::_classNames.clear();
     244
     245    for (classNameMap::const_iterator it = ObjectListBase::_classesByName->begin();
     246         it != ObjectListBase::_classesByName->end();
     247         ++it)
     248    {
     249      ObjectListBase::_classNames.push_back((*it).second->name());
     250    }
     251  }
     252  return ObjectListBase::_classNames;
     253}
     254
     255
    235256#include "base_object.h"
    236257
    237258/**
    238259 * @brief Prints out some debugging information about a given List.
     260 * @param level:
     261 *  1: List ObjectListsand how many object.
     262 *  2: 1+List ObjectLists entries, and information about Objects.
    239263 */
    240264void ObjectListBase::debug(unsigned int level) const
     
    259283
    260284
     285/**
     286 * @brief prints out debug output about all Lists
     287 * @param level:
     288 *  0: list number of ClassList and general info.
     289 *  1: 0+List ObjectLists and how many object.
     290 *  2: 1+List ObjectLists entries, and information about Objects.
     291 */
    261292void ObjectListBase::debugAll(unsigned int level)
    262293{
Note: See TracChangeset for help on using the changeset viewer.