last works ...
This commit is contained in:
@@ -42,6 +42,9 @@ struct XPivot
|
||||
ENUM_TIMEFRAMES period; // Period
|
||||
ENUM_X_PIVOT_TYPE type; // Type
|
||||
|
||||
//
|
||||
string prefix; // Object Prefix
|
||||
|
||||
//
|
||||
// Constructor ...
|
||||
XPivot()
|
||||
@@ -108,6 +111,7 @@ struct XPivot
|
||||
time = NULL;
|
||||
symbol = NULL;
|
||||
period = NULL;
|
||||
prefix = NULL;
|
||||
dir = X_DIRECTION_NONE;
|
||||
type = X_PIVOT_TYPE_NONE;
|
||||
|
||||
@@ -429,7 +433,21 @@ struct XPivot
|
||||
*/
|
||||
string GetTag()
|
||||
{
|
||||
return GetToken(this);
|
||||
//
|
||||
string result = NULL;
|
||||
|
||||
//
|
||||
string token = GetToken(this);
|
||||
|
||||
//
|
||||
result =
|
||||
(IsSpecifiedValid(prefix)
|
||||
? prefix + "_"
|
||||
: "") +
|
||||
token;
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user