Advertisement
Guest User

Managed class definition

a guest
Oct 9th, 2013
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.31 KB | None | 0 0
  1. [Autodesk::AutoCAD::Runtime::Wrapper("CompanyDevicePh")]
  2. public ref class CompanyDevicePhMgd : public Autodesk::AutoCAD::DatabaseServices::Entity {
  3.         public:
  4.             //- Constructor
  5.            
  6.             CompanyDevicePhMgd () ;
  7.         internal:
  8.             CompanyDevicePhMgd (System::IntPtr unmanagedPointer, bool bAutoDelete) ;
  9.             //- Returns the unmanaged ARX Object
  10.             inline CompanyDevicePh *GetImpObj () {
  11.                 return (static_cast<CompanyDevicePh *>(UnmanagedObject.ToPointer ())) ;
  12.             }
  13.         protected:
  14.              void Test2();
  15.         private:
  16.             //System::Collections::Generic::List<MgdProperty^> ^pvProperties;
  17.         public:
  18.            
  19.             //- To define properties which get/set values of your object
  20.             //- the format you must use is
  21.             String ^ Name;
  22.             String ^ FilePath;
  23.             String ^ NameForDrawing;
  24.             bool ConnectedWithBaseDevice;
  25.             double Amperage;
  26.             //String ^ CircuitConnectionPath;
  27.             int ChosenPresetIndex;
  28.             int ChosenSpecPresetIndex;
  29.             String ^ CategoryId;
  30.             System::Collections::Generic::List<System::String^> ^MainRepsPaths;
  31.             String ^ MongoId;
  32.             MgdDevType Type;
  33.             System::Collections::Generic::List<Autodesk::AutoCAD::DatabaseServices::Handle> ^vHandleConnects;
  34.             System::Collections::Generic::List<Autodesk::AutoCAD::DatabaseServices::Handle> ^vHandleMainDispReps;
  35.             System::Collections::Generic::List<Autodesk::AutoCAD::DatabaseServices::Handle> ^vHandleAnotherDispReps;
  36.             System::Collections::Generic::List<Autodesk::AutoCAD::DatabaseServices::Handle> ^vHandleDependentEntities;
  37.             System::Collections::Generic::List<StraightConnectionMgd^> ^vSconnections;
  38.             //property System::Collections::Generic::List<MgdProperty^> ^vProperties{System::Collections::Generic::List<MgdProperty^> ^ get(); void set(System::Collections::Generic::List<MgdProperty^> ^value);};
  39.             System::Collections::Generic::List<MgdProperty^> ^vProperties;
  40.             System::Collections::Generic::List<MgdTerminal^> ^vTerminals;
  41.             System::Collections::Generic::List<MgdPlumePositionInformation^> ^vPlumesCoords;
  42.             void SetImpObjectData();
  43.             void GetImpObjectData();
  44.             void SetHandleVectors();
  45.             void GetHandleVectors();
  46.             void SetStructureVectors();
  47.             void GetStructureVectors();
  48.             void Initialize();
  49.             void UpdateUndo();
  50.             int CreateMainDispReps();
  51.             //void GetSimilarTerminals(CompanyDevicePhMgd ^ AnotherDeviceMgd)
  52.             //-     __property Point2d get_Center();
  53.         } ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement