COMPASSi/trunk/code/inc/DataManager/Logic/Logic.DataManagement/Interpreters/PointInterpreter.h

25 lines
710 B
C
Raw Normal View History

2025-06-25 15:06:42 +08:00
#pragma once
#include "ObjectInterpreter.h"
#include <string>
#include <vector>
#include <stdexcept>
#include <memory>
#include "DataManagerGlobal.h"
class DATAMANAGER_DLL_API_EXPORTS PointInterpreter : public ObjectInterpreter
// class PointInterpreter
{
public:
// void ExecuteCommand(std::vector<std::string> &commandLines) override;
void ExecuteCommand(std::vector<std::string> &commandLines, std::vector<Point3D_M> &pLoc);
bool ParsePoint2D(const std::string &loc, const std::string &dir, double &v1, double &v2);
// protected:
// std::shared_ptr<PointInterpreter> shared_from_this()
// {
// return std::static_pointer_cast<PointInterpreter>(ObjectInterpreter::shared_from_this());
// }
};