Skip to content

Commit 0ffd0d7

Browse files
author
Nicholas Reed
committed
consolidate definitions of STRING_DELIM
1 parent fcebd71 commit 0ffd0d7

File tree

4 files changed

+14
-23
lines changed

4 files changed

+14
-23
lines changed

src/clstepcore/STEPaggregate.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020

2121
const int Real_Num_Precision = REAL_NUM_PRECISION; // from STEPattribute.h
2222

23-
#define STRING_DELIM '\''
24-
2523

2624
/******************************************************************************
2725
** \file STEPaggregate.cc Functions for manipulating aggregate attributes

src/clstepcore/read_func.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
#include <errordesc.h>
32
#include <stdio.h>
4-
#include <sdai.h>
5-
#include <read_func.h>
6-
#include <STEPattribute.h>
3+
#include "errordesc.h"
4+
#include "sdai.h"
5+
#include "read_func.h"
6+
#include "STEPattribute.h"
77

88
const int RealNumPrecision = REAL_NUM_PRECISION;
99

src/clstepcore/sdai.h

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@
1818
* values for the EXPRESS base types.
1919
*/
2020

21-
#include <scl_cf.h>
21+
#include "scl_cf.h"
2222

2323
extern const char * SCLversion;
2424

2525
#include <ctype.h>
2626
#include <string>
2727

2828

29-
#include <dictdefs.h>
29+
#include "dictdefs.h"
3030

31-
#include <baseType.h>
32-
#include <Str.h>
33-
#include <errordesc.h>
31+
#include "baseType.h"
32+
#include "Str.h"
33+
#include "errordesc.h"
3434

3535
typedef std::string Express_id;
3636

@@ -39,7 +39,7 @@ class EntityDescriptor;
3939
class SelectTypeDescriptor;
4040
class InstMgr;
4141

42-
#include <STEPattributeList.h>
42+
#include "STEPattributeList.h"
4343

4444
class STEPattributeList;
4545
class STEPattribute;
@@ -48,14 +48,6 @@ class STEPattribute;
4848
#define BINARY_DELIM '\"'
4949
#endif
5050

51-
#ifndef STRING_DELIM
52-
#define STRING_DELIM '\''
53-
#endif
54-
55-
// STRING
56-
#define S_STRING_NULL ""
57-
58-
5951
typedef long SDAI_Integer;
6052
typedef short SDAI_Short;
6153
typedef unsigned short SDAI_UShort;

src/clutils/Str.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
* and is not subject to copyright.
1414
*/
1515

16-
/* $Id: Str.h,v 3.0.1.3 1997/11/05 22:33:52 sauderd DP3.1 $ */
17-
18-
1916
#include <ctype.h>
2017

2118
//#include <std.h> // not found in CenterLine C++
@@ -27,6 +24,10 @@
2724
#include <string.h>
2825
#include <errordesc.h>
2926

27+
#ifndef STRING_DELIM
28+
#define STRING_DELIM '\''
29+
#endif
30+
3031
char ToLower( const char c );
3132
char ToUpper( const char c );
3233
char * StrToLower( const char *, char * );

0 commit comments

Comments
 (0)