Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 16, 2008, 3:46:25 AM (16 years ago)
Author:
landauf
Message:

added comments to all my classes in util

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/util/String.cc

    r1625 r1791  
    2727 */
    2828
     29/**
     30    @file String.cc
     31    @brief Implementation of several string manipulation functions.
     32*/
     33
    2934#include "String.h"
    3035
     
    3338
    3439/**
    35     @brief Blank string as variable so you can use const std::string& even
    36            if you have to return "".
     40    @brief Blank string as variable so you can use const std::string& even if you have to return "".
    3741*/
    3842std::string blankString = "";
     
    273277}
    274278
     279/**
     280    @brief Adds backslashes to the given string which makes special chars visible. Existing slashes will be doubled.
     281    @param str The string to manipulate
     282    @return The string with added slashes
     283*/
    275284std::string addSlashes(const std::string& str)
    276285{
     
    291300}
    292301
     302/**
     303    @brief Removes backslashes from the given string. Double backslashes are interpreted as one backslash.
     304    @param str The string to manipulate
     305    @return The string with removed slashes
     306*/
    293307std::string removeSlashes(const std::string& str)
    294308{
Note: See TracChangeset for help on using the changeset viewer.