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

@@ -7,8 +7,8 @@ using namespace CDUtils;
KInterface::KInterface() {
core = Core::instance();
piCoutObj << core;
core = CDCore::instance();
//piCoutObj << core;
k_file = PIStringAscii("k.dat");
k_file_size = 0;
CONNECTU(core, K_Sended, this, sended);
@@ -22,27 +22,27 @@ bool KInterface::test(int v) {
}
KType & KInterface::operator [](int v) {
CDType & KInterface::operator [](int v) {
return core->k_[v];
}
const KType KInterface::operator [](int v) const {
const CDType KInterface::operator [](int v) const {
return core->k_[v];
}
KSection & KInterface::section(int v) {
CDSection & KInterface::section(int v) {
return core->k_.section(v);
}
const KSection KInterface::section(int v) const {
const CDSection KInterface::section(int v) const {
return core->k_.section(v);
}
const KSection & KInterface::root() const {
const CDSection & KInterface::root() const {
return core->k_;
}