Skip to content

Commit fc63db2

Browse files
authored
Merge pull request #4 from erlonfs/develop
Develop
2 parents c283e6c + f4009aa commit fc63db2

File tree

15 files changed

+3509
-3507
lines changed

15 files changed

+3509
-3507
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#Executaveis
22
*.ex5
33
#Outros
4-
experts.dat
4+
experts.dat
5+
/Profiles

Include/Framework/Base.mqh

-7.91 KB
Binary file not shown.

Include/Framework/Enum.mqh

-130 Bytes
Binary file not shown.

Include/Object.mqh

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@
99
//| Purpose: Base class for storing elements. |
1010
//+------------------------------------------------------------------+
1111
class CObject
12-
{
12+
{
1313
private:
14-
CObject *m_prev; // previous item of list
15-
CObject *m_next; // next item of list
14+
CObject *m_prev; // previous item of list
15+
CObject *m_next; // next item of list
1616

1717
public:
18-
CObject(void): m_prev(NULL),m_next(NULL) { }
19-
~CObject(void) { }
20-
//--- methods to access protected data
21-
CObject *Prev(void) const { return(m_prev); }
22-
void Prev(CObject *node) { m_prev=node; }
23-
CObject *Next(void) const { return(m_next); }
24-
void Next(CObject *node) { m_next=node; }
25-
//--- methods for working with files
26-
virtual bool Save(const int file_handle) { return(true); }
27-
virtual bool Load(const int file_handle) { return(true); }
28-
//--- method of identifying the object
29-
virtual int Type(void) const { return(0); }
30-
//--- method of comparing the objects
31-
virtual int Compare(const CObject *node,const int mode=0) const { return(0); }
32-
};
18+
CObject(void) : m_prev(NULL), m_next(NULL) { }
19+
~CObject(void) { }
20+
//--- methods to access protected data
21+
CObject *Prev(void) const { return(m_prev); }
22+
void Prev(CObject *node) { m_prev = node; }
23+
CObject *Next(void) const { return(m_next); }
24+
void Next(CObject *node) { m_next = node; }
25+
//--- methods for working with files
26+
virtual bool Save(const int file_handle) { return(true); }
27+
virtual bool Load(const int file_handle) { return(true); }
28+
//--- method of identifying the object
29+
virtual int Type(void) const { return(0); }
30+
//--- method of comparing the objects
31+
virtual int Compare(const CObject *node, const int mode = 0) const { return(0); }
32+
};
3333
//+------------------------------------------------------------------+
-8.87 KB
Binary file not shown.

0 commit comments

Comments
 (0)