4.4.16
by Viktor Bursian at blin-Ubuntu
yet another refactoring to satisfy bloody doxygen! |
1 |
////////////////////////////////////////////////////////////////////////////////
|
9.1.6
by Viktor Bursian @pryanik-ubuntu
cosmetic, but important for doxygen |
2 |
/*! @file NodeLocation.h sNodeLocation class.
|
3 |
- Part of RANet - Research Assistant Net Library.
|
|
4 |
- Copyright(C) 1994-2020, Viktor E. Bursian, St.Petersburg, Russia.
|
|
5 |
VBursian@gmail.com
|
|
4.4.16
by Viktor Bursian at blin-Ubuntu
yet another refactoring to satisfy bloody doxygen! |
6 |
*/////////////////////////////////////////////////////////////////////////////// |
9.1.6
by Viktor Bursian @pryanik-ubuntu
cosmetic, but important for doxygen |
7 |
#ifndef NodeLocation_H
|
8 |
#define NodeLocation_H
|
|
9 |
#include "BasicNetClassPredeclarations.hpp" |
|
4.4.36
by Viktor Bursian at blin-Ubuntu
Привёл в порядок sAttrName (инициировано багом из-за неопределённого operator!=) |
10 |
#include "AttrName.h" |
4.4.16
by Viktor Bursian at blin-Ubuntu
yet another refactoring to satisfy bloody doxygen! |
11 |
namespace RA { |
12 |
//------------------------------------------------------------------------------
|
|
13 |
||
9.1.6
by Viktor Bursian @pryanik-ubuntu
cosmetic, but important for doxygen |
14 |
//ANNOUNCE_ABSTRACT_CLASS(sNodeLocation)
|
15 |
//(predeclared in BasicNetClassPredeclarations.hpp)
|
|
4.4.16
by Viktor Bursian at blin-Ubuntu
yet another refactoring to satisfy bloody doxygen! |
16 |
|
17 |
//------------------------------------------------------------ sNodeLocation ---
|
|
9.1.6
by Viktor Bursian @pryanik-ubuntu
cosmetic, but important for doxygen |
18 |
/*! Abstract base class for a reference to the physical storage place of a node.
|
4.4.16
by Viktor Bursian at blin-Ubuntu
yet another refactoring to satisfy bloody doxygen! |
19 |
|
9.1.6
by Viktor Bursian @pryanik-ubuntu
cosmetic, but important for doxygen |
20 |
It also declares (partially) a mechanism for allocation.
|
21 |
@sa sNodeLocation::LocationForAttr
|
|
22 |
*/
|
|
4.4.16
by Viktor Bursian at blin-Ubuntu
yet another refactoring to satisfy bloody doxygen! |
23 |
class RANet_EXPORT sNodeLocation |
24 |
{
|
|
25 |
public: |
|
4.4.17
by Viktor Bursian at blin-Ubuntu
Сеть генерится, спасается (в конце), читается, дополняется и доспасается. Удаления атрибутов (как и переприсвоения) пока нет. Редактирования значений тоже. Куча не чистится. |
26 |
virtual ~sNodeLocation () |
27 |
{}
|
|
4.4.16
by Viktor Bursian at blin-Ubuntu
yet another refactoring to satisfy bloody doxygen! |
28 |
virtual psNodeLocation Replica () const =0; |
4.4.36
by Viktor Bursian at blin-Ubuntu
Привёл в порядок sAttrName (инициировано багом из-за неопределённого operator!=) |
29 |
virtual psNodeLocation LocationForAttr (rcsAttrName) const =0; |
4.4.16
by Viktor Bursian at blin-Ubuntu
yet another refactoring to satisfy bloody doxygen! |
30 |
virtual bool operator == (pcsNodeLocation) const =0; |
31 |
||
32 |
public://fields |
|
33 |
psNet Net; |
|
34 |
||
35 |
protected: |
|
36 |
explicit sNodeLocation (psNet net) |
|
37 |
:Net(net) |
|
38 |
{}
|
|
39 |
private: |
|
40 |
sNodeLocation (rcsNodeLocation) {} |
|
4.4.27
by Viktor Bursian at blin-Ubuntu
Спасает! В параллель!!! |
41 |
rsNodeLocation operator = (rcsNodeLocation) {return *this;} |
4.4.16
by Viktor Bursian at blin-Ubuntu
yet another refactoring to satisfy bloody doxygen! |
42 |
};
|
43 |
||
44 |
//------------------------------------------------------------------------------
|
|
45 |
} //namespace RA |
|
46 |
#endif
|
|
47 |
||
48 |