ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
FullName.cpp File Reference

Implementation file. More...

#include "FullName.h"
#include "Utils.h"
Include dependency graph for FullName.cpp:

Go to the source code of this file.

Namespaces

 FullName
 Strings to define completely and uniquely a ListDataStock.
 
 ShortName
 String to define a ListDataStock from the indicator only
Format "Indicator_Params"
.
 
 FrameName
 Strings to define Frames in GUI.
 

Functions

std::string GetString (const Indicator &indic, const std::vector< int > &param)
 
std::string ShortName::MakeShortName (const Indicator &indic, const std::vector< int > &param=std::vector< int >())
 Create a short name from its components. More...
 
std::string FrameName::MakeFrameName (const std::string &namestock, const ETime &tmscl)
 Create a frame name string from its components. More...
 
Extract components from a fullname
std::string FullName::GetNameStock (const std::string &fname)
 Extract the name of the stock. More...
 
ETime FullName::GetTimeScale (const std::string &fname)
 Extract the TimeScale from a fullname. More...
 
Indicator FullName::GetIndicator (const std::string &fname)
 Extract the Indicator from a fullname. More...
 
std::vector< int > FullName::GetParams (const std::string &fname)
 Extract params from a fullname. More...
 
std::string FullName::GetShortName (const std::string &fname)
 Extract Indicator_params (string) from a fullname. More...
 
std::string FullName::GetFrameName (const std::string &fname)
 Extract NameStock_Timescale (FrameName) from a fullname. More...
 
Extract components from a short name
Indicator ShortName::GetIndicator (const std::string &sname)
 Extract the indicator from a frame name. More...
 
Extract components from a frame name
std::string FrameName::GetNameStock (const std::string &frame_name)
 Extract the stock name from a frame name. More...
 
ETime FrameName::GetTimeScale (const std::string &frame_name)
 Extract the TimeScale from a frame name. More...
 

Detailed Description

Implementation file.

last modified:

Id:
FullName.cpp 514 2014-12-19 21:52:42Z martinml

Definition in file FullName.cpp.

Function Documentation

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

Definition at line 12 of file FullName.cpp.

References Indicator::label().

Referenced by FullName::GetShortName(), and ShortName::MakeShortName().

Here is the call graph for this function:

Here is the caller graph for this function: