NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Annotations_EditText.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++ 接口到 JA API 的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Annotations_EditText.ja
9
//
10
// 生成方式:
11
// apiwrap
12
//
13
// 警告:
14
// 此文件为自动生成 - 请勿手动编辑
15
//
16
#pragma once
17
#include <NXOpen/NXDeprecation.hxx>
18
#include <vector>
19
#include <NXOpen/NXString.hxx>
20
#include <NXOpen/Callback.hxx>
21
#include <NXOpen/TaggedObject.hxx>
22
#include <NXOpen/libnxopencpp_annotations_exports.hxx>
23
#ifdef _MSC_VER
24
#pragma warning(push)
25
#pragma warning(disable:4996)
26
#endif
27
#ifdef __GNUC__
28
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29
#endif
30
namespace
NXOpen
31
{
32
namespace
Annotations
33
{
34
class
EditText
;
35
}
36
namespace
Annotations
37
{
38
class
AnnotationManager
;
39
}
40
namespace
Annotations
41
{
42
class
Annotation
;
43
}
44
namespace
Annotations
45
{
46
class
EditTextImpl;
50
class
NXOPENCPP_ANNOTATIONSEXPORT
EditText
51
{
53
public
:
enum
TextType
54
{
55
TextTypeMainText
56
};
57
private
:
EditTextImpl
* m_edittext_impl;
58
private
:
NXOpen::Annotations::AnnotationManager
* m_owner;
60
public
:
explicit
EditText
(
NXOpen::Annotations::AnnotationManager
*owner);
62
public
:
64
tag_t
Tag
()
const
;
65
public
:
~EditText
();
69
public
: std::vector<NXString>
GetText
70
(
71
NXOpen::Annotations::Annotation
* annotation ,
72
NXOpen::Annotations::EditText::TextType
textType
73
);
77
public
:
void
SetText
78
(
79
NXOpen::Annotations::Annotation
* annotation ,
80
NXOpen::Annotations::EditText::TextType
textType ,
81
const
std::vector<NXString> & text
82
);
83
};
//lint !e1712 default constructor not defined for class
84
}
85
}
86
#ifdef _MSC_VER
87
#pragma warning(pop)
88
#endif
89
#ifdef __GNUC__
90
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
91
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
92
#endif
93
#endif
94
#undef EXPORTLIBRARY