This commit is contained in:
2025-05-01 05:40:03 +03:30
parent 905413aa8c
commit ba74bca8e9
9 changed files with 310 additions and 25 deletions
+43 -3
View File
@@ -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()
{