git-svn-id: svn://db.shs.com.ru/libs@112 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2016-08-09 15:33:56 +00:00
parent b5923b7ba3
commit f24b7172b7
17 changed files with 383 additions and 264 deletions

View File

@@ -1,13 +1,13 @@
#ifndef CDUTILS_K_H
#define CDUTILS_K_H
#include "cdutils_k_types.h"
#include "cdutils_types.h"
#include "piobject.h"
namespace CDUtils {
class Core;
class CDCore;
class KInterface: public PIObject
@@ -17,11 +17,11 @@ public:
KInterface();
bool test(int v);
KType & operator [](int v);
const KType operator [](int v) const;
KSection & section(int v);
const KSection section(int v) const;
const KSection & root() const;
CDType & operator [](int v);
const CDType operator [](int v) const;
CDSection & section(int v);
const CDSection section(int v) const;
const CDSection & root() const;
int count(bool recursive = true) const;
const PIString file() const {return k_file;}
@@ -42,7 +42,7 @@ public:
void writeFile();
private:
Core * core;
CDCore * core;
PIString k_file;
int k_file_size;