You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
398 B
32 lines
398 B
// Copyright Dmitro bjornus Szewczuk 2017 under zlib license |
|
|
|
#pragma once |
|
|
|
#include <string> |
|
#include <vector> |
|
|
|
#include "Named.hpp" |
|
|
|
namespace radon |
|
{ |
|
class Key; |
|
|
|
class Section |
|
: public Named |
|
{ |
|
public: |
|
|
|
Section(); |
|
|
|
Section(const std::string & name); |
|
|
|
Key *getKey(const std::string & name); |
|
|
|
void addKey(Key variable); |
|
|
|
private: |
|
std::vector<Key> keys; |
|
|
|
friend class File; |
|
}; |
|
}
|
|
|