Skip to content

szewczukk/Radon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Radon

Simple parser for INI files

Installation

  1. Clone repo

    $ git clone https://github.com/bjornus/Radon

  2. Open Radon project, compile them in Release mode

  3. Attach to project

Getting value from INI file

Long version

radon::File file("File.ini");

std::shared_ptr<Section> section = file.getSection("section");

std::string value = section->getKey("key").getStringValue();

Short version

radon::File file("file.ini");

std::string value = file.getSection("section")->getKey("key").getStringValue();

Creating INI files

radon::File file("file.ini");

file.addSection(new Section("section"));
file.getSection("section")->addKey("key");
file.getSection("section")->getKey("key")->setValue("Value");

file.saveToFile();

About

Simple parser for INI files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages