Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #include "BESContainer.h"
00034
00039 BESContainer::BESContainer( const BESContainer ©_from )
00040 : _real_name( copy_from._real_name ),
00041 _constraint( copy_from._constraint ),
00042 _symbolic_name( copy_from._symbolic_name ),
00043 _container_type( copy_from._container_type ),
00044 _attributes( copy_from._attributes )
00045 {
00046 }
00047
00052 void
00053 BESContainer::_duplicate( BESContainer ©_to )
00054 {
00055 copy_to._real_name = _real_name ;
00056 copy_to._constraint = _constraint ;
00057 copy_to._symbolic_name = _symbolic_name ;
00058 copy_to._container_type = _container_type ;
00059 copy_to._attributes = _attributes ;
00060 }
00061
00069 void
00070 BESContainer::dump( ostream &strm ) const
00071 {
00072 strm << BESIndent::LMarg << "BESContainer::dump - ("
00073 << (void *)this << ")" << endl ;
00074 BESIndent::Indent() ;
00075 strm << BESIndent::LMarg << "symbolic name: " << _symbolic_name << endl ;
00076 strm << BESIndent::LMarg << "real name: " << _real_name << endl ;
00077 strm << BESIndent::LMarg << "data type: " << _container_type << endl ;
00078 strm << BESIndent::LMarg << "constraint: " << _constraint << endl ;
00079 strm << BESIndent::LMarg << "attributes: " << _attributes << endl ;
00080 BESIndent::UnIndent() ;
00081 }
00082