arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

nrroComment.cpp File Reference

#include "nrro.h"

Go to the source code of this file.

Functions

bool stringHasKey (const std::string &key, const std::string &cmt)


Function Documentation

bool stringHasKey const std::string key,
const std::string cmt
 

first see if the key is in the string

increment the length of the key

now find the next non whitespace char

if that is a ':'....

see if there is a comment after it, ie. non whitespace characters

if so, comment contains the key, and the key is not just a comment

Definition at line 117 of file nrroComment.cpp.

Referenced by Nrro::setComment().


Send questions, comments, and bug reports to:
jmk