00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef TAO_PSDL_OCTETSEQ_H
00016 #define TAO_PSDL_OCTETSEQ_H
00017 #include "ace/pre.h"
00018
00019 #include "psdl_export.h"
00020 #include "tao/OctetSeqC.h"
00021
00022 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00023 # pragma once
00024 #endif
00025
00026 #include "PSDL_Datastore.h"
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 class ACE_Allocator;
00037
00038 class TAO_PSDL_Export TAO_PSDL_OctetSeq
00039 {
00040 public:
00041
00042
00043 TAO_PSDL_OctetSeq (void);
00044
00045
00046 TAO_PSDL_OctetSeq (ACE_Allocator *persistent_allocator);
00047
00048
00049 TAO_PSDL_OctetSeq (const TAO_PSDL_OctetSeq & rhs);
00050
00051
00052 ~TAO_PSDL_OctetSeq (void);
00053
00054
00055 void operator= (const TAO_PSDL_OctetSeq & rhs);
00056
00057
00058 void operator= (const CORBA::OctetSeq & rhs);
00059
00060
00061
00062 operator CORBA::OctetSeq *() const;
00063
00064 operator CORBA::OctetSeq *();
00065
00066
00067 ACE_Allocator * allocator_;
00068
00069
00070 CORBA::Octet * buffer_;
00071
00072
00073 CORBA::ULong length_;
00074 };
00075
00076
00077 #include "ace/post.h"
00078 #endif