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

Strings to define Frames in GUI. More...

Functions

std::string MakeFrameName (const std::string &namestock, const ETime &tmscl)
 Create a frame name string from its components. More...
 
Extract components from a frame name
std::string GetNameStock (const std::string &frame_name)
 Extract the stock name from a frame name. More...
 
ETime GetTimeScale (const std::string &frame_name)
 Extract the TimeScale from a frame name. More...
 

Detailed Description

Strings to define Frames in GUI.

Format : "StockName_Timescale"

Function Documentation

std::string FrameName::GetNameStock ( const std::string &  frame_name)

Extract the stock name from a frame name.

Definition at line 116 of file FullName.cpp.

References Utils::splitline().

Referenced by StockManager::DeleteAllListDataFromFrame().

Here is the call graph for this function:

Here is the caller graph for this function:

ETime FrameName::GetTimeScale ( const std::string &  frame_name)

Extract the TimeScale from a frame name.

Definition at line 122 of file FullName.cpp.

References TimeScale::GetTimeScaleFromName(), and Utils::splitline().

Referenced by StockManager::DeleteAllListDataFromFrame().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string FrameName::MakeFrameName ( const std::string &  namestock,
const ETime tmscl 
)

Create a frame name string from its components.

Definition at line 128 of file FullName.cpp.

References TimeScale::GetTimeScaleName().

Referenced by MainControllerIndicatorTHStock::Validation().

Here is the call graph for this function:

Here is the caller graph for this function: