last ...
This commit is contained in:
@@ -108,7 +108,7 @@ struct XCAPivot
|
||||
// Constructor ...
|
||||
XCAPivot()
|
||||
{
|
||||
Clean();
|
||||
Default();
|
||||
}
|
||||
|
||||
//
|
||||
@@ -135,6 +135,27 @@ struct XCAPivot
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Default ...
|
||||
*/
|
||||
void Default()
|
||||
{
|
||||
//
|
||||
value = 0;
|
||||
to = NULL;
|
||||
reserve = 0;
|
||||
from = NULL;
|
||||
symbol = NULL;
|
||||
period = NULL;
|
||||
type = XCA_NONE;
|
||||
|
||||
//
|
||||
Clean(values);
|
||||
|
||||
//
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate ...
|
||||
*
|
||||
@@ -482,7 +503,7 @@ struct XCAPVPivot
|
||||
// Constructor ...
|
||||
XCAPVPivot()
|
||||
{
|
||||
Clean();
|
||||
Default();
|
||||
}
|
||||
|
||||
//
|
||||
@@ -500,6 +521,15 @@ struct XCAPVPivot
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
void Default()
|
||||
{
|
||||
//
|
||||
value = 0;
|
||||
Clean(pivots);
|
||||
dir = X_DIRECTION_NONE;
|
||||
}
|
||||
|
||||
//
|
||||
bool IsValid()
|
||||
{
|
||||
@@ -601,7 +631,7 @@ struct XCAPVTick
|
||||
//
|
||||
XCAPVTick()
|
||||
{
|
||||
Clean();
|
||||
Default();
|
||||
}
|
||||
|
||||
//
|
||||
@@ -618,6 +648,16 @@ struct XCAPVTick
|
||||
ZeroMemory(this);
|
||||
}
|
||||
|
||||
//
|
||||
void Default()
|
||||
{
|
||||
//
|
||||
pivot.Clean();
|
||||
|
||||
//
|
||||
ZeroMemory(zone);
|
||||
}
|
||||
|
||||
//
|
||||
bool IsValid()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user