Added scl_memmgr to clstepcore library.

This commit is contained in:
davyw
2012-03-20 21:08:45 +01:00
parent 010e02b7a6
commit 245ff1458b
24 changed files with 26 additions and 3 deletions
+3 -1
View File
@@ -49,6 +49,7 @@ endif()
if(MSVC OR BORLAND)
add_definitions( -DSCL_CORE_DLL_EXPORTS )
add_definitions( -DSCL_BASE_DLL_IMPORTS )
add_definitions( -DSCL_EXPRESS_DLL_IMPORTS )
add_definitions( -DSCL_UTILS_DLL_IMPORTS )
add_definitions( -DSCL_DAI_DLL_IMPORTS )
@@ -78,12 +79,13 @@ SET(LIBSTEPCORE_PRIVATE_HDRS
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${SCL_SOURCE_DIR}/src/base
${SCL_SOURCE_DIR}/src/cldai
${SCL_SOURCE_DIR}/src/cleditor
${SCL_SOURCE_DIR}/src/clutils
)
SCL_ADDLIB(stepcore "${LIBSTEPCORE_SRCS} ${LIBDEPEND_SRCS}" "express steputils stepdai")
SCL_ADDLIB(stepcore "${LIBSTEPCORE_SRCS} ${LIBDEPEND_SRCS}" "express steputils stepdai base")
if(APPLE)
if(SCL_BUILD_SHARED_LIBS)
set_target_properties(stepcore PROPERTIES LINK_FLAGS "-flat_namespace -undefined suppress")
+1
View File
@@ -18,6 +18,7 @@
#include <ExpDict.h>
#include <STEPaggregate.h>
#include "scl_memmgr.h"
Explicit_item_id__set::Explicit_item_id__set( int defaultSize ) {
+1
View File
@@ -11,6 +11,7 @@
*/
#include <ExpDict.h>
#include "scl_memmgr.h"
Dictionary_instance::~Dictionary_instance() {
}
+1
View File
@@ -11,6 +11,7 @@
#include <ExpDict.h>
#include <Registry.h>
#include "scl_memmgr.h"
const TypeDescriptor * t_sdaiINTEGER;
const TypeDescriptor * t_sdaiREAL;
+1
View File
@@ -17,6 +17,7 @@
#include <STEPattribute.h>
#include <instmgr.h>
#include <ExpDict.h>
#include "scl_memmgr.h"
const int Real_Num_Precision = REAL_NUM_PRECISION; // from STEPattribute.h
+1 -1
View File
@@ -16,7 +16,7 @@
#include <STEPaggregate.h>
#include <ExpDict.h>
#include <sdai.h>
#include "scl_memmgr.h"
// REAL_NUM_PRECISION is defined in STEPattribute.h, and is also used
// in aggregate real handling (STEPaggregate.cc) -- IMS 6 Jun 95
+1
View File
@@ -14,6 +14,7 @@
#include <STEPattribute.h>
#include <sdai.h>
#include <ExpDict.h>
#include "scl_memmgr.h"
/// This is needed so that STEPattribute's can be passed as references to inline functions
STEPattribute::STEPattribute( const STEPattribute & a )
+1
View File
@@ -12,6 +12,7 @@
#include <STEPattributeList.h>
#include <STEPattribute.h>
#include "scl_memmgr.h"
AttrListNode::AttrListNode( STEPattribute * a ) {
attr = a;
+1
View File
@@ -5,6 +5,7 @@
#include <complexSupport.h>
#include <STEPattribute.h>
#include <sstream>
#include "scl_memmgr.h"
extern const char * ReadStdKeyword( istream & in, std::string & buf, int skipInitWS );
+1 -1
View File
@@ -13,7 +13,7 @@
#include <stdio.h> // to get the BUFSIZ #define
#include <STEPundefined.h>
#include <STEPattribute.h>
#include "scl_memmgr.h"
/** \class SCLundefined
** helper functions for reading unknown types
+1
View File
@@ -11,6 +11,7 @@
*/
#include <SingleLinkList.h>
#include "scl_memmgr.h"
void SingleLinkList::DeleteFollowingNodes( SingleLinkNode * item ) {
if( head ) {
+1
View File
@@ -12,6 +12,7 @@
#include <SingleLinkList.h>
#include <iostream>
#include "scl_memmgr.h"
SingleLinkNode *
SingleLinkNode::NextNode() const {
+1
View File
@@ -12,6 +12,7 @@
*****************************************************************************/
#include "complexSupport.h"
#include "scl_memmgr.h"
/**
* Inserts a new ComplexList to our list. The ComplexLists are ordered by
+1
View File
@@ -11,6 +11,7 @@
*****************************************************************************/
#include "complexSupport.h"
#include "scl_memmgr.h"
/**
* Destructor for ComplexList.
+1
View File
@@ -14,6 +14,7 @@
*****************************************************************************/
#include "complexSupport.h"
#include "scl_memmgr.h"
/**
* Returns the number of EntLists in this's list (EntList->next, next->next
+1
View File
@@ -12,6 +12,7 @@
*****************************************************************************/
#include "complexSupport.h"
#include "scl_memmgr.h"
/**
* Given a list of entity names, creates a sorted linked list of EntNodes
+1
View File
@@ -14,6 +14,7 @@
*****************************************************************************/
#include "complexSupport.h"
#include "scl_memmgr.h"
/**
* Loops through descendants of this, invoking their matchOR functions.
+1
View File
@@ -13,6 +13,7 @@
*****************************************************************************/
#include "complexSupport.h"
#include "scl_memmgr.h"
/**
* Deletes the childList of this, before this is deleted.
+1
View File
@@ -11,6 +11,7 @@
*****************************************************************************/
#include "complexSupport.h"
#include "scl_memmgr.h"
/**
* Checks if we match the nodes of ents. If only one unmarked is left
+1
View File
@@ -11,6 +11,7 @@
*****************************************************************************/
#include "complexSupport.h"
#include "scl_memmgr.h"
/**
* Check if we matched nm. We have two possibilities here: If we have a
+1
View File
@@ -8,6 +8,7 @@
*****************************************************************************/
#include "complexSupport.h"
#include "scl_memmgr.h"
// Local function prototypes:
static char * joinText( JoinType, char * );
+1
View File
@@ -4,6 +4,7 @@
#include <sdai.h>
#include <read_func.h>
#include <STEPattribute.h>
#include "scl_memmgr.h"
const int RealNumPrecision = REAL_NUM_PRECISION;
+1
View File
@@ -2,6 +2,7 @@
#include <cfloat>
#include <sdai.h>
#include "scl_memmgr.h"
const char * SCLversion = "STEP Class Library, github.com/mpictor/StepClassLibrary";
+1
View File
@@ -12,6 +12,7 @@
*****************************************************************************/
#include "complexSupport.h"
#include "scl_memmgr.h"
// Local function prototypes:
static EntList * firstCandidate( EntList * );