miniini/src/globals.cpp File Reference

Go to the source code of this file.

Functions

bool INISetComment (const char commentchar)
 Sets the comment character.
bool INISetSeparator (const char sep)
 Sets name=value separator character.

Function Documentation

bool INISetComment ( const char  comment_char  ) 

Sets the comment character.

Default comment character is ';'. This function changes it to given character. Only a character that does not serve a special purpose in INI files can be set as the comment character.

Parameters:
comment_char New comment character.
Returns:
true if comment character was set successfully.
false if comment could not be set to this character.

Definition at line 29 of file globals.cpp.

bool INISetSeparator ( const char  sep  ) 

Sets name=value separator character.

Default separator is '='. This function changes it to given character. Only a character that does not serve a special purpose in INI files can be set as the separator.

Parameters:
comment_char New separator.
Returns:
true if separator was set successfully.
false if separator could not be set to this character.

Definition at line 56 of file globals.cpp.

 All Classes Files Functions

Copyright © Ferdinand Majerech 2009-2010 kiithsacmp[at]gmail.com
Generated on Fri Jul 9 15:09:53 2010 for MiniINI by  Doxygen 1.6.3