ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
ShortName Namespace Reference

String to define a ListDataStock from the indicator only
Format "Indicator_Params"
. More...

Functions

std::string MakeShortName (const Indicator &indic, const std::vector< int > &param=std::vector< int >())
 Create a short name from its components. More...
 
Extract components from a short name
Indicator GetIndicator (const std::string &sname)
 Extract the indicator from a frame name. More...
 

Detailed Description

String to define a ListDataStock from the indicator only
Format "Indicator_Params"
.

Unique inside ListDataStock only.

Function Documentation

Indicator ShortName::GetIndicator ( const std::string &  sname)

Extract the indicator from a frame name.

Definition at line 103 of file FullName.cpp.

References Indicator::GetIndicator(), and Utils::splitline().

Referenced by CanvasStock::AddListDataStockToMap(), and Stock::AddListDataToMap().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string ShortName::MakeShortName ( const Indicator indic,
const std::vector< int > &  param 
)

Create a short name from its components.

Definition at line 109 of file FullName.cpp.

References GetString().

Referenced by Stock::DeleteListData(), Stock::GetItList(), StockManager::Load(), Stock::LoadListData(), and ListDataStock_Utils::TransformTimeScale().

Here is the call graph for this function:

Here is the caller graph for this function: