Skip to content

Commit

Permalink
Regenerate all implementation files from ACT to include/API and sourc…
Browse files Browse the repository at this point in the history
…e/API
  • Loading branch information
vijaiaeroastro committed Dec 11, 2024
1 parent 073924b commit 7b6dc20
Show file tree
Hide file tree
Showing 236 changed files with 16,699 additions and 13,705 deletions.
552 changes: 286 additions & 266 deletions Autogenerated/Bindings/Cpp/lib3mf_implicit.hpp

Large diffs are not rendered by default.

563 changes: 291 additions & 272 deletions Autogenerated/Bindings/CppDynamic/lib3mf_dynamic.hpp

Large diffs are not rendered by default.

5,474 changes: 13 additions & 5,461 deletions Autogenerated/Bindings/Go/lib3mf.go

Large diffs are not rendered by default.

11,576 changes: 11,576 additions & 0 deletions Autogenerated/Bindings/Go/lib3mf_dynamic.c

Large diffs are not rendered by default.

1,812 changes: 1,811 additions & 1 deletion Autogenerated/Bindings/Go/lib3mf_dynamic.h

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Include/API/lib3mf_absnode.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (C) 2023 3MF Consortium (Original Author)
Copyright (C) 2024 3MF Consortium (Original Author)
All rights reserved.
Expand Down Expand Up @@ -66,7 +66,7 @@ class CAbsNode : public virtual IAbsNode, public virtual COneInputNode {
*/

public:
CAbsNode(NMR::PModelImplicitNode pImplicitNode);

/**
* Put additional public members here. They will not be visible in the external API.
*/
Expand Down
67 changes: 44 additions & 23 deletions Include/API/lib3mf_accessright.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (C) 2019 3MF Consortium (Original Author)
Copyright (C) 2024 3MF Consortium (Original Author)
All rights reserved.
Expand Down Expand Up @@ -29,46 +29,67 @@ Abstract: This is the class declaration of CAccessRight
*/


#ifndef __LIB3MF_DECRYPTRIGHT
#define __LIB3MF_DECRYPTRIGHT
#ifndef __LIB3MF_ACCESSRIGHT
#define __LIB3MF_ACCESSRIGHT

#include "lib3mf_interfaces.hpp"

// Parent classes
#include "lib3mf_base.hpp"
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4250)
#endif

// Include custom headers here.
#include "Model/Classes/NMR_KeyStoreAccessRight.h"


namespace Lib3MF {
namespace Impl {
namespace Impl {


/*************************************************************************************************************************
Class declaration of CAccessRight
**************************************************************************************************************************/

class CAccessRight : public virtual IAccessRight, public virtual CBase {
private:

/**
* Put private members here.
*/

/*************************************************************************************************************************
Class declaration of CAccessRight
**************************************************************************************************************************/
protected:

class CAccessRight : public virtual IAccessRight, public virtual CBase {
private:
NMR::PKeyStoreAccessRight m_pAccessRight;
public:
CAccessRight(NMR::PKeyStoreAccessRight ar);
/**
* Put protected members here.
*/

// Inherited via IAccessRight
IConsumer * GetConsumer() override;
public:

Lib3MF::eWrappingAlgorithm GetWrappingAlgorithm() override;
/**
* Put additional public members here. They will not be visible in the external API.
*/

Lib3MF::eMgfAlgorithm GetMgfAlgorithm() override;

Lib3MF::eDigestMethod GetDigestMethod() override;
/**
* Public member functions to implement.
*/

// Other access methods
NMR::PKeyStoreAccessRight accessRight() const;
IConsumer * GetConsumer() override;

Lib3MF::eWrappingAlgorithm GetWrappingAlgorithm() override;

};
}
}
Lib3MF::eMgfAlgorithm GetMgfAlgorithm() override;

Lib3MF::eDigestMethod GetDigestMethod() override;

};

} // namespace Impl
} // namespace Lib3MF

#ifdef _MSC_VER
#pragma warning(pop)
#endif
#endif // __LIB3MF_ACCESSRIGHT
4 changes: 2 additions & 2 deletions Include/API/lib3mf_additionnode.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (C) 2023 3MF Consortium (Original Author)
Copyright (C) 2024 3MF Consortium (Original Author)
All rights reserved.
Expand Down Expand Up @@ -66,7 +66,7 @@ class CAdditionNode : public virtual IAdditionNode, public virtual CTwoInputNode
*/

public:
CAdditionNode(NMR::PModelImplicitNode pImplicitNode);

/**
* Put additional public members here. They will not be visible in the external API.
*/
Expand Down
4 changes: 2 additions & 2 deletions Include/API/lib3mf_arccosnode.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (C) 2023 3MF Consortium (Original Author)
Copyright (C) 2024 3MF Consortium (Original Author)
All rights reserved.
Expand Down Expand Up @@ -60,12 +60,12 @@ class CArcCosNode : public virtual IArcCosNode, public virtual COneInputNode {
*/

protected:

/**
* Put protected members here.
*/

public:
CArcCosNode(NMR::PModelImplicitNode pImplicitNode);

/**
* Put additional public members here. They will not be visible in the external API.
Expand Down
4 changes: 2 additions & 2 deletions Include/API/lib3mf_arcsinnode.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (C) 2023 3MF Consortium (Original Author)
Copyright (C) 2024 3MF Consortium (Original Author)
All rights reserved.
Expand Down Expand Up @@ -60,12 +60,12 @@ class CArcSinNode : public virtual IArcSinNode, public virtual COneInputNode {
*/

protected:

/**
* Put protected members here.
*/

public:
CArcSinNode(NMR::PModelImplicitNode pImplicitNode);

/**
* Put additional public members here. They will not be visible in the external API.
Expand Down
4 changes: 2 additions & 2 deletions Include/API/lib3mf_arctan2node.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (C) 2023 3MF Consortium (Original Author)
Copyright (C) 2024 3MF Consortium (Original Author)
All rights reserved.
Expand Down Expand Up @@ -66,7 +66,7 @@ class CArcTan2Node : public virtual IArcTan2Node, public virtual CTwoInputNode {
*/

public:
CArcTan2Node(NMR::PModelImplicitNode pImplicitNode);

/**
* Put additional public members here. They will not be visible in the external API.
*/
Expand Down
4 changes: 2 additions & 2 deletions Include/API/lib3mf_arctannode.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (C) 2023 3MF Consortium (Original Author)
Copyright (C) 2024 3MF Consortium (Original Author)
All rights reserved.
Expand Down Expand Up @@ -66,7 +66,7 @@ class CArcTanNode : public virtual IArcTanNode, public virtual COneInputNode {
*/

public:
CArcTanNode(NMR::PModelImplicitNode pImplicitNode);

/**
* Put additional public members here. They will not be visible in the external API.
*/
Expand Down
38 changes: 18 additions & 20 deletions Include/API/lib3mf_attachment.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (C) 2019 3MF Consortium (Original Author)
Copyright (C) 2024 3MF Consortium (Original Author)
All rights reserved.
Expand Down Expand Up @@ -33,14 +33,16 @@ Abstract: This is the class declaration of CAttachment
#define __LIB3MF_ATTACHMENT

#include "lib3mf_interfaces.hpp"

// Parent classes
#include "lib3mf_base.hpp"
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4250)
#endif

// Include custom headers here.
#include "Model/Classes/NMR_ModelAttachment.h"


namespace Lib3MF {
namespace Impl {
Expand All @@ -56,7 +58,6 @@ class CAttachment : public virtual IAttachment, public virtual CBase {
/**
* Put private members here.
*/
NMR::PModelAttachment m_pModelAttachment;

protected:

Expand All @@ -69,43 +70,40 @@ class CAttachment : public virtual IAttachment, public virtual CBase {
/**
* Put additional public members here. They will not be visible in the external API.
*/
CAttachment(NMR::PModelAttachment pModelAttachment);


/**
* Public member functions to implement.
*/

std::string GetPath ();
std::string GetPath() override;

void SetPath (const std::string & sPath);
void SetPath(const std::string & sPath) override;

IPackagePart * PackagePart();
IPackagePart * PackagePart() override;

std::string GetRelationShipType ();
std::string GetRelationShipType() override;

void SetRelationShipType (const std::string & sPath);
void SetRelationShipType(const std::string & sPath) override;

void WriteToFile (const std::string & sFileName);
void WriteToFile(const std::string & sFileName) override;

void ReadFromFile (const std::string & sFileName);

void ReadFromCallback(const Lib3MF::ReadCallback pTheReadCallback, const Lib3MF_uint64 nStreamSize, const Lib3MF::SeekCallback pTheSeekCallback, const Lib3MF_pvoid pUserData);
void ReadFromFile(const std::string & sFileName) override;

Lib3MF_uint64 GetStreamSize ();
void ReadFromCallback(const Lib3MF::ReadCallback pTheReadCallback, const Lib3MF_uint64 nStreamSize, const Lib3MF::SeekCallback pTheSeekCallback, const Lib3MF_pvoid pUserData) override;

void WriteToBuffer (Lib3MF_uint64 nBufferBufferSize, Lib3MF_uint64* pBufferNeededCount, Lib3MF_uint8 * pBufferBuffer);
Lib3MF_uint64 GetStreamSize() override;

void ReadFromBuffer(const Lib3MF_uint64 nBufferBufferSize, const Lib3MF_uint8 * pBufferBuffer);
void WriteToBuffer(Lib3MF_uint64 nBufferBufferSize, Lib3MF_uint64* pBufferNeededCount, Lib3MF_uint8 * pBufferBuffer) override;

NMR::PModelAttachment getModelAttachment ();
void ReadFromBuffer(const Lib3MF_uint64 nBufferBufferSize, const Lib3MF_uint8 * pBufferBuffer) override;

};

}
}
} // namespace Impl
} // namespace Lib3MF

#ifdef _MSC_VER
#pragma warning(pop)
#endif

#endif // __LIB3MF_ATTACHMENT
10 changes: 7 additions & 3 deletions Include/API/lib3mf_base.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*++
Copyright (C) 2019 3MF Consortium (Original Author)
Copyright (C) 2024 3MF Consortium (Original Author)
All rights reserved.
Expand Down Expand Up @@ -52,8 +52,8 @@ namespace Impl {
class CBase : public virtual IBase {
private:

std::unique_ptr<std::list<std::string>> m_pErrors;
Lib3MF_uint32 m_nReferenceCount = 1;
std::unique_ptr<std::string> m_pLastError;
uint32_t m_nReferenceCount = 1;

/**
* Put private members here.
Expand Down Expand Up @@ -81,9 +81,13 @@ class CBase : public virtual IBase {

bool DecRefCount() override;


/**
* Public member functions to implement.
*/

Lib3MF_uint64 ClassTypeId() override;

};

} // namespace Impl
Expand Down
Loading

0 comments on commit 7b6dc20

Please sign in to comment.