EgtMachKernel :

- modifiche a salvataggio UserObj per nBaseId.
This commit is contained in:
Dario Sassi
2018-01-30 17:24:49 +00:00
parent 1bddb84bf5
commit e77959816b
18 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ Chiseling::Dump( string& sOut, bool bMM, const char* szNewLine) const
//----------------------------------------------------------------------------
bool
Chiseling::Save( STRVECTOR& vString) const
Chiseling::Save( int nBaseId, STRVECTOR& vString) const
{
try {
int nSize = 1 + m_Params.GetSize() + m_TParams.GetSize() + 2 ;
+1 -1
View File
@@ -30,7 +30,7 @@ class Chiseling : public Machining
bool Dump( std::string& sOut, bool bMM = true, const char* szNewLine = "\n") const override ;
bool ToSave( void) const override
{ return true ; }
bool Save( STRVECTOR& vString) const override ;
bool Save( int nBaseId, STRVECTOR& vString) const override ;
bool Load( const STRVECTOR& vString, int nBaseGdbId) override ;
public : // Operation
+1 -1
View File
@@ -144,7 +144,7 @@ Disposition::Dump( string& sOut, bool bMM, const char* szNewLine) const
//----------------------------------------------------------------------------
bool
Disposition::Save( STRVECTOR& vString) const
Disposition::Save( int nBaseId, STRVECTOR& vString) const
{
try {
int k = - 1 ;
+1 -1
View File
@@ -54,7 +54,7 @@ class Disposition : public Operation
bool Dump( std::string& sOut, bool bMM = true, const char* szNewLine = "\n") const override ;
bool ToSave( void) const override
{ return true ; }
bool Save( STRVECTOR& vString) const override ;
bool Save( int nBaseId, STRVECTOR& vString) const override ;
bool Load( const STRVECTOR& vString, int nBaseGdbId) override ;
public : // Operation
+1 -1
View File
@@ -109,7 +109,7 @@ Drilling::Dump( string& sOut, bool bMM, const char* szNewLine) const
//----------------------------------------------------------------------------
bool
Drilling::Save( STRVECTOR& vString) const
Drilling::Save( int nBaseId, STRVECTOR& vString) const
{
try {
int nSize = 1 + m_Params.GetSize() + m_TParams.GetSize() + 2 ;
+1 -1
View File
@@ -30,7 +30,7 @@ class Drilling : public Machining
bool Dump( std::string& sOut, bool bMM = true, const char* szNewLine = "\n") const override ;
bool ToSave( void) const override
{ return true ; }
bool Save( STRVECTOR& vString) const override ;
bool Save( int nBaseId, STRVECTOR& vString) const override ;
bool Load( const STRVECTOR& vString, int nBaseGdbId) override ;
public : // Operation
+1 -1
View File
@@ -111,7 +111,7 @@ GenMachining::Dump( string& sOut, bool bMM, const char* szNewLine) const
//----------------------------------------------------------------------------
bool
GenMachining::Save( STRVECTOR& vString) const
GenMachining::Save( int nBaseId, STRVECTOR& vString) const
{
try {
int nSize = 1 + m_Params.GetSize() + m_TParams.GetSize() + 2 ;
+1 -1
View File
@@ -29,7 +29,7 @@ class GenMachining : public Machining
bool Dump( std::string& sOut, bool bMM = true, const char* szNewLine = "\n") const override ;
bool ToSave( void) const override
{ return true ; }
bool Save( STRVECTOR& vString) const override ;
bool Save( int nBaseId, STRVECTOR& vString) const override ;
bool Load( const STRVECTOR& vString, int nBaseGdbId) override ;
public : // Operation
+1 -1
View File
@@ -104,7 +104,7 @@ Milling::Dump( string& sOut, bool bMM, const char* szNewLine) const
//----------------------------------------------------------------------------
bool
Milling::Save( STRVECTOR& vString) const
Milling::Save( int nBaseId, STRVECTOR& vString) const
{
try {
int nSize = 1 + m_Params.GetSize() + m_TParams.GetSize() + 2 ;
+1 -1
View File
@@ -29,7 +29,7 @@ class Milling : public Machining
bool Dump( std::string& sOut, bool bMM = true, const char* szNewLine = "\n") const override ;
bool ToSave( void) const override
{ return true ; }
bool Save( STRVECTOR& vString) const override ;
bool Save( int nBaseId, STRVECTOR& vString) const override ;
bool Load( const STRVECTOR& vString, int nBaseGdbId) override ;
public : // Operation
+1 -1
View File
@@ -112,7 +112,7 @@ Pocketing::Dump( string& sOut, bool bMM, const char* szNewLine) const
//----------------------------------------------------------------------------
bool
Pocketing::Save( STRVECTOR& vString) const
Pocketing::Save( int nBaseId, STRVECTOR& vString) const
{
try {
int nSize = 1 + m_Params.GetSize() + m_TParams.GetSize() + 2 ;
+1 -1
View File
@@ -30,7 +30,7 @@ class Pocketing : public Machining
bool Dump( std::string& sOut, bool bMM = true, const char* szNewLine = "\n") const override ;
bool ToSave( void) const override
{ return true ; }
bool Save( STRVECTOR& vString) const override ;
bool Save( int nBaseId, STRVECTOR& vString) const override ;
bool Load( const STRVECTOR& vString, int nBaseGdbId) override ;
public : // Operation
+1 -1
View File
@@ -110,7 +110,7 @@ SawFinishing::Dump( string& sOut, bool bMM, const char* szNewLine) const
//----------------------------------------------------------------------------
bool
SawFinishing::Save( STRVECTOR& vString) const
SawFinishing::Save( int nBaseId, STRVECTOR& vString) const
{
try {
int nSize = 1 + m_Params.GetSize() + m_TParams.GetSize() + 2 ;
+1 -1
View File
@@ -32,7 +32,7 @@ class SawFinishing : public Machining
bool Dump( std::string& sOut, bool bMM = true, const char* szNewLine = "\n") const override ;
bool ToSave( void) const override
{ return true ; }
bool Save( STRVECTOR& vString) const override ;
bool Save( int nBaseId, STRVECTOR& vString) const override ;
bool Load( const STRVECTOR& vString, int nBaseGdbId) override ;
public : // Operation
+1 -1
View File
@@ -103,7 +103,7 @@ SawRoughing::Dump( string& sOut, bool bMM, const char* szNewLine) const
//----------------------------------------------------------------------------
bool
SawRoughing::Save( STRVECTOR& vString) const
SawRoughing::Save( int nBaseId, STRVECTOR& vString) const
{
try {
int nSize = 1 + m_Params.GetSize() + m_TParams.GetSize() + 2 ;
+1 -1
View File
@@ -32,7 +32,7 @@ class SawRoughing : public Machining
bool Dump( std::string& sOut, bool bMM = true, const char* szNewLine = "\n") const override ;
bool ToSave( void) const override
{ return true ; }
bool Save( STRVECTOR& vString) const override ;
bool Save( int nBaseId, STRVECTOR& vString) const override ;
bool Load( const STRVECTOR& vString, int nBaseGdbId) override ;
public : // Operation
+1 -1
View File
@@ -103,7 +103,7 @@ Sawing::Dump( string& sOut, bool bMM, const char* szNewLine) const
//----------------------------------------------------------------------------
bool
Sawing::Save( STRVECTOR& vString) const
Sawing::Save( int nBaseId, STRVECTOR& vString) const
{
try {
int nSize = 1 + m_Params.GetSize() + m_TParams.GetSize() + 2 ;
+1 -1
View File
@@ -32,7 +32,7 @@ class Sawing : public Machining
bool Dump( std::string& sOut, bool bMM = true, const char* szNewLine = "\n") const override ;
bool ToSave( void) const override
{ return true ; }
bool Save( STRVECTOR& vString) const override ;
bool Save( int nBaseId, STRVECTOR& vString) const override ;
bool Load( const STRVECTOR& vString, int nBaseGdbId) override ;
public : // Operation