CharStream.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
10 #include "TextAPICommon.h"
11 #include "Run.h"
13 #include <ECObjects/ECObjectsAPI.h>
14 
16 
19 
20 
21 //=======================================================================================
25 // @remark Required library : DgnPlatform<ApiNumber>.lib i.e. DgnPlatform5.lib
26 // @bsiclass Bentley Systems
27 //=======================================================================================
28 struct CharStream : public Run
29  {
30 private:
31  virtual void MakeClassAbstract() = 0;
32 public:
33 
36  public: DGNPLATFORM_EXPORT WStringCR GetString () const;
37 
38  }; // CharStream
39 
40 //=======================================================================================
43 // @remark Required library : DgnPlatform<ApiNumber>.lib i.e. DgnPlatform5.lib
44 // @bsiclass Bentley Systems
45 //=======================================================================================
46 struct EdfCharStream : public CharStream
47  {
48 private:
49  virtual void MakeClassAbstract() = 0;
50 public:
51 
53  public: DGNPLATFORM_EXPORT EdfJustification GetEdfJustification () const;
54 
55  }; // EdfCharStream
56 
58 
60 
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:69
In the TextBlock DOM, a base class for all other runs.
Definition: Run.h:30
struct Bentley::WString const & WStringCR
Definition: Bentley.h:239
Enter Data Fields (EDFs) are atomic placeholder runs of pre-defined length (number of characters)...
Definition: CharStream.h:46
#define DGNPLATFORM_EXPORT
Definition: DgnPlatform/ExportMacros.h:58
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:68
EdfJustification
If an EDF (Enter Data Field) does not have its entire length used, this describes how to align the te...
Definition: TextAPICommon.h:107
In the TextBlock DOM, a collection of single-line, single-format characters.
Definition: CharStream.h:28

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.