diff options
Diffstat (limited to 'TAO/TAO_IDL/ast/ast_sequence.cpp')
-rw-r--r-- | TAO/TAO_IDL/ast/ast_sequence.cpp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/ast/ast_sequence.cpp b/TAO/TAO_IDL/ast/ast_sequence.cpp index 1827823d37a..ac1ed44f65e 100644 --- a/TAO/TAO_IDL/ast/ast_sequence.cpp +++ b/TAO/TAO_IDL/ast/ast_sequence.cpp @@ -86,8 +86,18 @@ trademarks or registered trademarks of Sun Microsystems, Inc. #include "ace/OS_Memory.h" #include "ace/OS_NS_string.h" -AST_Decl::NodeType const -AST_Sequence::NT = AST_Decl::NT_sequence; +AST_Sequence::AST_Sequence (void) + : COMMON_Base (), + AST_Decl (), + AST_Type (), + AST_ConcreteType (), + pd_max_size (0), + pd_base_type (0), + owns_base_type_ (false) +{ + // A sequence data type is always VARIABLE. + this->size_type (AST_Type::VARIABLE); +} AST_Sequence::AST_Sequence (AST_Expression *ms, AST_Type *bt, @@ -282,4 +292,6 @@ AST_Sequence::destroy (void) this->AST_ConcreteType::destroy (); } + + IMPL_NARROW_FROM_DECL(AST_Sequence) |