git-svn-id: svn://db.shs.com.ru/libs@112 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -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_;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user