Files
EgtMachKernel/Table.h
T
Dario Sassi 636fa8846f EgtMachKernel 1.6g6 :
- ricompilato e adattato per UiUnits.
2015-07-22 20:39:56 +00:00

44 lines
1.5 KiB
C++

//----------------------------------------------------------------------------
// EgalTech 2015-2015
//----------------------------------------------------------------------------
// File : Table.h Data : 25.05.15 Versione : 1.6e7
// Contenuto : Dichiarazione della classe Table.
//
//
//
// Modifiche : 25.05.15 DS Creazione modulo.
//
//
//----------------------------------------------------------------------------
#pragma once
#include "Machine.h"
#include "/EgtDev/Include/EGkUserObj.h"
#include "/EgtDev/Include/EGkPoint3d.h"
//----------------------------------------------------------------------------
class Table : public IUserObj
{
public : // IUserObj
virtual Table* Clone( void) const ;
virtual const std::string& GetClassName( void) const ;
virtual bool Dump( std::string& sOut, bool bMM = true, const char* szNewLine = "\n") const ;
virtual bool SetOwner( int nId, IGeomDB* pGDB) ;
virtual int GetOwner( void) const ;
virtual IGeomDB* GetGeomDB( void) const ;
public :
Table( void) ;
bool Set( const std::string& sName, int nType, const Point3d& ptRef1) ;
const std::string& GetName( void) { return m_sName ; }
int GetType( void) { return m_nType ; }
const Point3d& GetRef1( void) { return m_ptRef1 ; }
private :
int m_nOwnerId ;
IGeomDB* m_pGeomDB ;
std::string m_sName ;
int m_nType ;
Point3d m_ptRef1 ;
} ;