Welcome Guest [Log In] [Register]
Welcome to the official RoBoBo-IRC-BoBo support forums. We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!
If you are instead looking for the code, you may want to go to our GitHub page instead.

If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
DATA_INI_READ; INI data file reader
Topic Started: May 24 2010, 04:03 PM (221 Views)
ElementalAlchemist
Administrator
DATA_INI_READ

Provides: An INI file parser for reading data from INI files.

Requires: ini_read.h

Functions:
These functions can be called by the client module, provided by the INI reader:
std::tr1::unordered_map<std::string, std::tr1::unordered_map<std::string, std::string> > getINIdata(std::string filename);
Unordered_maps of variables and values are grouped by the section name in the INI file. The function takes only the name (with directory if necessary) of the INI file you want the data from. The module will open the file and parse the data.

These functions can be provided by the client module to be used by the INI reader:
None.
Edited by ElementalAlchemist, Jun 2 2010, 09:35 PM.
Offline Profile Goto Top
 
ElementalAlchemist
Administrator
[1.0.0b1/1002] This module service is now obsolete. It has been succeeded by DATA_INI.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Obsoleted Services · Next Topic »
Locked Topic