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.h File Reference

Namespace's for functions related to the string format of Indicator / Frame. More...

#include "TimeScale.h"
#include "Indicator.h"
#include <vector>
Include dependency graph for FullName.h:
This graph shows which files directly or indirectly include this file:

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 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

Namespace's for functions related to the string format of Indicator / Frame.

Simple functions encapsulated in namespaces

Last Changed

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

Definition in file FullName.h.