class CFvg{ private: //bool isFvgTapped; struct fvg{ double upperBand; double lowerBand; double range; int flag; bool isFvgTapped; }; fvg latestFvg; public: //getters int getLatestFvgFlag(); double getLatestFvgLowerBand(); double getLatestFvgUpperBand(); double getLatestFvgRange(); bool getIsLatestFvgFresh(); }; int CFvg::getLatestFvgFlag(void){ return latestFvg.flag; } double CFvg::getLatestFvgLowerBand(){ return latestFvg.lowerBand; } double CFvg::getLatestFvgUpperBand(void){ return latestFvg.upperBand; } double CFvg::getLatestFvgRange(){ return latestFvg.range; } bool CFvg::getIsLatestFvgFresh(void){ return latestFvg.isFvgTapped; }