25 lines
710 B
C++
25 lines
710 B
C++
#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());
|
|
// }
|
|
};
|