forked from trevisan/SCL_Bind
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSCL_Substation.hxx
1686 lines (1313 loc) · 44.3 KB
/
SCL_Substation.hxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright (C) 2005-2010 Code Synthesis Tools CC
//
// This program was generated by CodeSynthesis XSD, an XML Schema to
// C++ data binding compiler.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//
// In addition, as a special exception, Code Synthesis Tools CC gives
// permission to link this program with the Xerces-C++ library (or with
// modified versions of Xerces-C++ that use the same license as Xerces-C++),
// and distribute linked combinations including the two. You must obey
// the GNU General Public License version 2 in all respects for all of
// the code used other than Xerces-C++. If you modify this copy of the
// program, you may extend this exception to your version of the program,
// but you are not obligated to do so. If you do not wish to do so, delete
// this exception statement from your version.
//
// Furthermore, Code Synthesis Tools CC makes a special exception for
// the Free/Libre and Open Source Software (FLOSS) which is described
// in the accompanying FLOSSE file.
//
#ifndef SCL_SUBSTATION_HXX
#define SCL_SUBSTATION_HXX
// Begin prologue.
//
//
// End prologue.
#include <xsd/cxx/config.hxx>
#if (XSD_INT_VERSION != 3030000L)
#error XSD runtime version mismatch
#endif
#include <xsd/cxx/pre.hxx>
#ifndef XSD_USE_CHAR
#define XSD_USE_CHAR
#endif
#ifndef XSD_CXX_TREE_USE_CHAR
#define XSD_CXX_TREE_USE_CHAR
#endif
#include <xsd/cxx/xml/char-utf8.hxx>
#include <xsd/cxx/tree/exceptions.hxx>
#include <xsd/cxx/tree/elements.hxx>
#include <xsd/cxx/tree/types.hxx>
#include <xsd/cxx/xml/error-handler.hxx>
#include <xsd/cxx/xml/dom/auto-ptr.hxx>
#include <xsd/cxx/tree/parsing.hxx>
#include <xsd/cxx/tree/parsing/byte.hxx>
#include <xsd/cxx/tree/parsing/unsigned-byte.hxx>
#include <xsd/cxx/tree/parsing/short.hxx>
#include <xsd/cxx/tree/parsing/unsigned-short.hxx>
#include <xsd/cxx/tree/parsing/int.hxx>
#include <xsd/cxx/tree/parsing/unsigned-int.hxx>
#include <xsd/cxx/tree/parsing/long.hxx>
#include <xsd/cxx/tree/parsing/unsigned-long.hxx>
#include <xsd/cxx/tree/parsing/boolean.hxx>
#include <xsd/cxx/tree/parsing/float.hxx>
#include <xsd/cxx/tree/parsing/double.hxx>
#include <xsd/cxx/tree/parsing/decimal.hxx>
namespace xml_schema
{
// anyType and anySimpleType.
//
typedef ::xsd::cxx::tree::type type;
typedef ::xsd::cxx::tree::simple_type< type > simple_type;
typedef ::xsd::cxx::tree::type container;
// 8-bit
//
typedef signed char byte;
typedef unsigned char unsigned_byte;
// 16-bit
//
typedef short short_;
typedef unsigned short unsigned_short;
// 32-bit
//
typedef int int_;
typedef unsigned int unsigned_int;
// 64-bit
//
typedef long long long_;
typedef unsigned long long unsigned_long;
// Supposed to be arbitrary-length integral types.
//
typedef long long integer;
typedef long long non_positive_integer;
typedef unsigned long long non_negative_integer;
typedef unsigned long long positive_integer;
typedef long long negative_integer;
// Boolean.
//
typedef bool boolean;
// Floating-point types.
//
typedef float float_;
typedef double double_;
typedef double decimal;
// String types.
//
typedef ::xsd::cxx::tree::string< char, simple_type > string;
typedef ::xsd::cxx::tree::normalized_string< char, string > normalized_string;
typedef ::xsd::cxx::tree::token< char, normalized_string > token;
typedef ::xsd::cxx::tree::name< char, token > name;
typedef ::xsd::cxx::tree::nmtoken< char, token > nmtoken;
typedef ::xsd::cxx::tree::nmtokens< char, simple_type, nmtoken > nmtokens;
typedef ::xsd::cxx::tree::ncname< char, name > ncname;
typedef ::xsd::cxx::tree::language< char, token > language;
// ID/IDREF.
//
typedef ::xsd::cxx::tree::id< char, ncname > id;
typedef ::xsd::cxx::tree::idref< char, ncname, type > idref;
typedef ::xsd::cxx::tree::idrefs< char, simple_type, idref > idrefs;
// URI.
//
typedef ::xsd::cxx::tree::uri< char, simple_type > uri;
// Qualified name.
//
typedef ::xsd::cxx::tree::qname< char, simple_type, uri, ncname > qname;
// Binary.
//
typedef ::xsd::cxx::tree::buffer< char > buffer;
typedef ::xsd::cxx::tree::base64_binary< char, simple_type > base64_binary;
typedef ::xsd::cxx::tree::hex_binary< char, simple_type > hex_binary;
// Date/time.
//
typedef ::xsd::cxx::tree::time_zone time_zone;
typedef ::xsd::cxx::tree::date< char, simple_type > date;
typedef ::xsd::cxx::tree::date_time< char, simple_type > date_time;
typedef ::xsd::cxx::tree::duration< char, simple_type > duration;
typedef ::xsd::cxx::tree::gday< char, simple_type > gday;
typedef ::xsd::cxx::tree::gmonth< char, simple_type > gmonth;
typedef ::xsd::cxx::tree::gmonth_day< char, simple_type > gmonth_day;
typedef ::xsd::cxx::tree::gyear< char, simple_type > gyear;
typedef ::xsd::cxx::tree::gyear_month< char, simple_type > gyear_month;
typedef ::xsd::cxx::tree::time< char, simple_type > time;
// Entity.
//
typedef ::xsd::cxx::tree::entity< char, ncname > entity;
typedef ::xsd::cxx::tree::entities< char, simple_type, entity > entities;
// Flags and properties.
//
typedef ::xsd::cxx::tree::flags flags;
typedef ::xsd::cxx::tree::properties< char > properties;
// Parsing/serialization diagnostics.
//
typedef ::xsd::cxx::tree::severity severity;
typedef ::xsd::cxx::tree::error< char > error;
typedef ::xsd::cxx::tree::diagnostics< char > diagnostics;
// Exceptions.
//
typedef ::xsd::cxx::tree::exception< char > exception;
typedef ::xsd::cxx::tree::bounds< char > bounds;
typedef ::xsd::cxx::tree::duplicate_id< char > duplicate_id;
typedef ::xsd::cxx::tree::parsing< char > parsing;
typedef ::xsd::cxx::tree::expected_element< char > expected_element;
typedef ::xsd::cxx::tree::unexpected_element< char > unexpected_element;
typedef ::xsd::cxx::tree::expected_attribute< char > expected_attribute;
typedef ::xsd::cxx::tree::unexpected_enumerator< char > unexpected_enumerator;
typedef ::xsd::cxx::tree::expected_text_content< char > expected_text_content;
typedef ::xsd::cxx::tree::no_prefix_mapping< char > no_prefix_mapping;
// Error handler callback interface.
//
typedef ::xsd::cxx::xml::error_handler< char > error_handler;
// DOM interaction.
//
namespace dom
{
// Automatic pointer for DOMDocument.
//
using ::xsd::cxx::xml::dom::auto_ptr;
#ifndef XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
#define XSD_CXX_TREE_TREE_NODE_KEY__XML_SCHEMA
// DOM user data key for back pointers to tree nodes.
//
const XMLCh* const tree_node_key = ::xsd::cxx::tree::user_data_keys::node;
#endif
}
}
// Forward declarations.
//
namespace SCL
{
class tLNodeContainer;
class tPowerSystemResource;
class tEquipmentContainer;
class tEquipment;
class tAbstractConductingEquipment;
class tConductingEquipment;
class tSubEquipment;
class tPowerTransformer;
class tTransformerWinding;
class tTapChanger;
class tGeneralEquipment;
class tSubstation;
class tVoltageLevel;
class tBay;
class tLNode;
class tFunction;
class tSubFunction;
class tConnectivityNode;
class tTerminal;
}
#include <memory> // std::auto_ptr
#include <limits> // std::numeric_limits
#include <algorithm> // std::binary_search
#include <xsd/cxx/xml/char-utf8.hxx>
#include <xsd/cxx/tree/exceptions.hxx>
#include <xsd/cxx/tree/elements.hxx>
#include <xsd/cxx/tree/containers.hxx>
#include <xsd/cxx/tree/list.hxx>
#include <xsd/cxx/xml/dom/parsing-header.hxx>
#include "SCL_BaseTypes.hxx"
namespace SCL
{
class tLNodeContainer: public ::SCL::tNaming
{
public:
// LNode
//
typedef ::SCL::tLNode LNode_type;
typedef ::xsd::cxx::tree::sequence< LNode_type > LNode_sequence;
typedef LNode_sequence::iterator LNode_iterator;
typedef LNode_sequence::const_iterator LNode_const_iterator;
typedef ::xsd::cxx::tree::traits< LNode_type, char > LNode_traits;
const LNode_sequence&
LNode () const;
LNode_sequence&
LNode ();
void
LNode (const LNode_sequence& s);
// Constructors.
//
tLNodeContainer (const name_type&);
tLNodeContainer (const ::xercesc::DOMElement& e,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
tLNodeContainer (const tLNodeContainer& x,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
virtual tLNodeContainer*
_clone (::xml_schema::flags f = 0,
::xml_schema::container* c = 0) const;
virtual
~tLNodeContainer ();
// Implementation.
//
protected:
void
parse (::xsd::cxx::xml::dom::parser< char >&,
::xml_schema::flags);
protected:
LNode_sequence LNode_;
};
class tPowerSystemResource: public ::SCL::tLNodeContainer
{
public:
// Constructors.
//
tPowerSystemResource (const name_type&);
tPowerSystemResource (const ::xercesc::DOMElement& e,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
tPowerSystemResource (const tPowerSystemResource& x,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
virtual tPowerSystemResource*
_clone (::xml_schema::flags f = 0,
::xml_schema::container* c = 0) const;
virtual
~tPowerSystemResource ();
};
class tEquipmentContainer: public ::SCL::tPowerSystemResource
{
public:
// PowerTransformer
//
typedef ::SCL::tPowerTransformer PowerTransformer_type;
typedef ::xsd::cxx::tree::sequence< PowerTransformer_type > PowerTransformer_sequence;
typedef PowerTransformer_sequence::iterator PowerTransformer_iterator;
typedef PowerTransformer_sequence::const_iterator PowerTransformer_const_iterator;
typedef ::xsd::cxx::tree::traits< PowerTransformer_type, char > PowerTransformer_traits;
const PowerTransformer_sequence&
PowerTransformer () const;
PowerTransformer_sequence&
PowerTransformer ();
void
PowerTransformer (const PowerTransformer_sequence& s);
// GeneralEquipment
//
typedef ::SCL::tGeneralEquipment GeneralEquipment_type;
typedef ::xsd::cxx::tree::sequence< GeneralEquipment_type > GeneralEquipment_sequence;
typedef GeneralEquipment_sequence::iterator GeneralEquipment_iterator;
typedef GeneralEquipment_sequence::const_iterator GeneralEquipment_const_iterator;
typedef ::xsd::cxx::tree::traits< GeneralEquipment_type, char > GeneralEquipment_traits;
const GeneralEquipment_sequence&
GeneralEquipment () const;
GeneralEquipment_sequence&
GeneralEquipment ();
void
GeneralEquipment (const GeneralEquipment_sequence& s);
// Constructors.
//
tEquipmentContainer (const name_type&);
tEquipmentContainer (const ::xercesc::DOMElement& e,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
tEquipmentContainer (const tEquipmentContainer& x,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
virtual tEquipmentContainer*
_clone (::xml_schema::flags f = 0,
::xml_schema::container* c = 0) const;
virtual
~tEquipmentContainer ();
// Implementation.
//
protected:
void
parse (::xsd::cxx::xml::dom::parser< char >&,
::xml_schema::flags);
protected:
PowerTransformer_sequence PowerTransformer_;
GeneralEquipment_sequence GeneralEquipment_;
};
class tEquipment: public ::SCL::tPowerSystemResource
{
public:
// virtual
//
typedef ::xml_schema::boolean virtual_type;
typedef ::xsd::cxx::tree::traits< virtual_type, char > virtual_traits;
const virtual_type&
virtual_ () const;
virtual_type&
virtual_ ();
void
virtual_ (const virtual_type& x);
static virtual_type
virtual_default_value ();
// Constructors.
//
tEquipment (const name_type&);
tEquipment (const ::xercesc::DOMElement& e,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
tEquipment (const tEquipment& x,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
virtual tEquipment*
_clone (::xml_schema::flags f = 0,
::xml_schema::container* c = 0) const;
virtual
~tEquipment ();
// Implementation.
//
protected:
void
parse (::xsd::cxx::xml::dom::parser< char >&,
::xml_schema::flags);
protected:
::xsd::cxx::tree::one< virtual_type > virtual__;
};
class tAbstractConductingEquipment: public ::SCL::tEquipment
{
public:
// Terminal
//
typedef ::SCL::tTerminal Terminal_type;
typedef ::xsd::cxx::tree::sequence< Terminal_type > Terminal_sequence;
typedef Terminal_sequence::iterator Terminal_iterator;
typedef Terminal_sequence::const_iterator Terminal_const_iterator;
typedef ::xsd::cxx::tree::traits< Terminal_type, char > Terminal_traits;
const Terminal_sequence&
Terminal () const;
Terminal_sequence&
Terminal ();
void
Terminal (const Terminal_sequence& s);
// SubEquipment
//
typedef ::SCL::tSubEquipment SubEquipment_type;
typedef ::xsd::cxx::tree::sequence< SubEquipment_type > SubEquipment_sequence;
typedef SubEquipment_sequence::iterator SubEquipment_iterator;
typedef SubEquipment_sequence::const_iterator SubEquipment_const_iterator;
typedef ::xsd::cxx::tree::traits< SubEquipment_type, char > SubEquipment_traits;
const SubEquipment_sequence&
SubEquipment () const;
SubEquipment_sequence&
SubEquipment ();
void
SubEquipment (const SubEquipment_sequence& s);
// Constructors.
//
tAbstractConductingEquipment (const name_type&);
tAbstractConductingEquipment (const ::xercesc::DOMElement& e,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
tAbstractConductingEquipment (const tAbstractConductingEquipment& x,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
virtual tAbstractConductingEquipment*
_clone (::xml_schema::flags f = 0,
::xml_schema::container* c = 0) const;
virtual
~tAbstractConductingEquipment ();
// Implementation.
//
protected:
void
parse (::xsd::cxx::xml::dom::parser< char >&,
::xml_schema::flags);
protected:
Terminal_sequence Terminal_;
SubEquipment_sequence SubEquipment_;
};
class tConductingEquipment: public ::SCL::tAbstractConductingEquipment
{
public:
// type
//
typedef ::SCL::tCommonConductingEquipmentEnum type_type;
typedef ::xsd::cxx::tree::traits< type_type, char > type_traits;
const type_type&
type () const;
type_type&
type ();
void
type (const type_type& x);
void
type (::std::auto_ptr< type_type > p);
// Constructors.
//
tConductingEquipment (const name_type&,
const type_type&);
tConductingEquipment (const ::xercesc::DOMElement& e,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
tConductingEquipment (const tConductingEquipment& x,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
virtual tConductingEquipment*
_clone (::xml_schema::flags f = 0,
::xml_schema::container* c = 0) const;
virtual
~tConductingEquipment ();
// Implementation.
//
protected:
void
parse (::xsd::cxx::xml::dom::parser< char >&,
::xml_schema::flags);
protected:
::xsd::cxx::tree::one< type_type > type_;
};
class tSubEquipment: public ::SCL::tPowerSystemResource
{
public:
// phase
//
typedef ::SCL::tPhaseEnum phase_type;
typedef ::xsd::cxx::tree::traits< phase_type, char > phase_traits;
const phase_type&
phase () const;
phase_type&
phase ();
void
phase (const phase_type& x);
void
phase (::std::auto_ptr< phase_type > p);
static const phase_type&
phase_default_value ();
// virtual
//
typedef ::xml_schema::boolean virtual_type;
typedef ::xsd::cxx::tree::traits< virtual_type, char > virtual_traits;
const virtual_type&
virtual_ () const;
virtual_type&
virtual_ ();
void
virtual_ (const virtual_type& x);
static virtual_type
virtual_default_value ();
// Constructors.
//
tSubEquipment (const name_type&);
tSubEquipment (const ::xercesc::DOMElement& e,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
tSubEquipment (const tSubEquipment& x,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
virtual tSubEquipment*
_clone (::xml_schema::flags f = 0,
::xml_schema::container* c = 0) const;
virtual
~tSubEquipment ();
// Implementation.
//
protected:
void
parse (::xsd::cxx::xml::dom::parser< char >&,
::xml_schema::flags);
protected:
::xsd::cxx::tree::one< phase_type > phase_;
static const phase_type phase_default_value_;
::xsd::cxx::tree::one< virtual_type > virtual__;
};
class tPowerTransformer: public ::SCL::tEquipment
{
public:
// TransformerWinding
//
typedef ::SCL::tTransformerWinding TransformerWinding_type;
typedef ::xsd::cxx::tree::sequence< TransformerWinding_type > TransformerWinding_sequence;
typedef TransformerWinding_sequence::iterator TransformerWinding_iterator;
typedef TransformerWinding_sequence::const_iterator TransformerWinding_const_iterator;
typedef ::xsd::cxx::tree::traits< TransformerWinding_type, char > TransformerWinding_traits;
const TransformerWinding_sequence&
TransformerWinding () const;
TransformerWinding_sequence&
TransformerWinding ();
void
TransformerWinding (const TransformerWinding_sequence& s);
// type
//
typedef ::SCL::tPowerTransformerEnum type_type;
typedef ::xsd::cxx::tree::traits< type_type, char > type_traits;
const type_type&
type () const;
static const type_type&
type_default_value ();
// Constructors.
//
tPowerTransformer (const name_type&);
tPowerTransformer (const ::xercesc::DOMElement& e,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
tPowerTransformer (const tPowerTransformer& x,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
virtual tPowerTransformer*
_clone (::xml_schema::flags f = 0,
::xml_schema::container* c = 0) const;
virtual
~tPowerTransformer ();
// Implementation.
//
protected:
void
parse (::xsd::cxx::xml::dom::parser< char >&,
::xml_schema::flags);
protected:
TransformerWinding_sequence TransformerWinding_;
::xsd::cxx::tree::one< type_type > type_;
static const type_type type_default_value_;
};
class tTransformerWinding: public ::SCL::tAbstractConductingEquipment
{
public:
// TapChanger
//
typedef ::SCL::tTapChanger TapChanger_type;
typedef ::xsd::cxx::tree::optional< TapChanger_type > TapChanger_optional;
typedef ::xsd::cxx::tree::traits< TapChanger_type, char > TapChanger_traits;
const TapChanger_optional&
TapChanger () const;
TapChanger_optional&
TapChanger ();
void
TapChanger (const TapChanger_type& x);
void
TapChanger (const TapChanger_optional& x);
void
TapChanger (::std::auto_ptr< TapChanger_type > p);
// type
//
typedef ::SCL::tTransformerWindingEnum type_type;
typedef ::xsd::cxx::tree::traits< type_type, char > type_traits;
const type_type&
type () const;
static const type_type&
type_default_value ();
// Constructors.
//
tTransformerWinding (const name_type&);
tTransformerWinding (const ::xercesc::DOMElement& e,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
tTransformerWinding (const tTransformerWinding& x,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
virtual tTransformerWinding*
_clone (::xml_schema::flags f = 0,
::xml_schema::container* c = 0) const;
virtual
~tTransformerWinding ();
// Implementation.
//
protected:
void
parse (::xsd::cxx::xml::dom::parser< char >&,
::xml_schema::flags);
protected:
TapChanger_optional TapChanger_;
::xsd::cxx::tree::one< type_type > type_;
static const type_type type_default_value_;
};
class tTapChanger: public ::SCL::tPowerSystemResource
{
public:
// type
//
typedef ::xml_schema::name type_type;
typedef ::xsd::cxx::tree::traits< type_type, char > type_traits;
const type_type&
type () const;
static const type_type&
type_default_value ();
// virtual
//
typedef ::xml_schema::boolean virtual_type;
typedef ::xsd::cxx::tree::traits< virtual_type, char > virtual_traits;
const virtual_type&
virtual_ () const;
virtual_type&
virtual_ ();
void
virtual_ (const virtual_type& x);
static virtual_type
virtual_default_value ();
// Constructors.
//
tTapChanger (const name_type&);
tTapChanger (const ::xercesc::DOMElement& e,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
tTapChanger (const tTapChanger& x,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
virtual tTapChanger*
_clone (::xml_schema::flags f = 0,
::xml_schema::container* c = 0) const;
virtual
~tTapChanger ();
// Implementation.
//
protected:
void
parse (::xsd::cxx::xml::dom::parser< char >&,
::xml_schema::flags);
protected:
::xsd::cxx::tree::one< type_type > type_;
static const type_type type_default_value_;
::xsd::cxx::tree::one< virtual_type > virtual__;
};
class tGeneralEquipment: public ::SCL::tEquipment
{
public:
// type
//
typedef ::SCL::tGeneralEquipmentEnum type_type;
typedef ::xsd::cxx::tree::traits< type_type, char > type_traits;
const type_type&
type () const;
type_type&
type ();
void
type (const type_type& x);
void
type (::std::auto_ptr< type_type > p);
// Constructors.
//
tGeneralEquipment (const name_type&,
const type_type&);
tGeneralEquipment (const ::xercesc::DOMElement& e,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
tGeneralEquipment (const tGeneralEquipment& x,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
virtual tGeneralEquipment*
_clone (::xml_schema::flags f = 0,
::xml_schema::container* c = 0) const;
virtual
~tGeneralEquipment ();
// Implementation.
//
protected:
void
parse (::xsd::cxx::xml::dom::parser< char >&,
::xml_schema::flags);
protected:
::xsd::cxx::tree::one< type_type > type_;
};
class tSubstation: public ::SCL::tEquipmentContainer
{
public:
// VoltageLevel
//
typedef ::SCL::tVoltageLevel VoltageLevel_type;
typedef ::xsd::cxx::tree::sequence< VoltageLevel_type > VoltageLevel_sequence;
typedef VoltageLevel_sequence::iterator VoltageLevel_iterator;
typedef VoltageLevel_sequence::const_iterator VoltageLevel_const_iterator;
typedef ::xsd::cxx::tree::traits< VoltageLevel_type, char > VoltageLevel_traits;
const VoltageLevel_sequence&
VoltageLevel () const;
VoltageLevel_sequence&
VoltageLevel ();
void
VoltageLevel (const VoltageLevel_sequence& s);
// Function
//
typedef ::SCL::tFunction Function_type;
typedef ::xsd::cxx::tree::sequence< Function_type > Function_sequence;
typedef Function_sequence::iterator Function_iterator;
typedef Function_sequence::const_iterator Function_const_iterator;
typedef ::xsd::cxx::tree::traits< Function_type, char > Function_traits;
const Function_sequence&
Function () const;
Function_sequence&
Function ();
void
Function (const Function_sequence& s);
// Constructors.
//
tSubstation (const name_type&);
tSubstation (const ::xercesc::DOMElement& e,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
tSubstation (const tSubstation& x,
::xml_schema::flags f = 0,
::xml_schema::container* c = 0);
virtual tSubstation*
_clone (::xml_schema::flags f = 0,
::xml_schema::container* c = 0) const;
virtual
~tSubstation ();
// Implementation.
//
protected:
void
parse (::xsd::cxx::xml::dom::parser< char >&,
::xml_schema::flags);
protected:
VoltageLevel_sequence VoltageLevel_;
Function_sequence Function_;
};
class tVoltageLevel: public ::SCL::tEquipmentContainer
{
public:
// Voltage
//
typedef ::SCL::tVoltage Voltage_type;
typedef ::xsd::cxx::tree::optional< Voltage_type > Voltage_optional;
typedef ::xsd::cxx::tree::traits< Voltage_type, char > Voltage_traits;
const Voltage_optional&
Voltage () const;
Voltage_optional&
Voltage ();
void
Voltage (const Voltage_type& x);
void
Voltage (const Voltage_optional& x);
void
Voltage (::std::auto_ptr< Voltage_type > p);
// Bay
//
typedef ::SCL::tBay Bay_type;
typedef ::xsd::cxx::tree::sequence< Bay_type > Bay_sequence;
typedef Bay_sequence::iterator Bay_iterator;
typedef Bay_sequence::const_iterator Bay_const_iterator;
typedef ::xsd::cxx::tree::traits< Bay_type, char > Bay_traits;
const Bay_sequence&
Bay () const;
Bay_sequence&
Bay ();
void
Bay (const Bay_sequence& s);
// Constructors.