1 /*---------------------------------------------------------------------------*\
5 * Copyright (C) 2007 by the OpenSG Forum *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
37 \*---------------------------------------------------------------------------*/
42 /*-------------------------------------------------------------------------*/
43 /* OSBElementBase::BinaryReadHandler */
44 /*-------------------------------------------------------------------------*/
46 /*! Skips \a size bytes of data from the underlying stream.
48 \param[in] size Number of bytes to skip.
51 OSBElementBase::BinaryReadHandler::skip(UInt32 size)
55 for(UInt32 i = 0; i < size; ++i)
61 /*-------------------------------------------------------------------------*/
63 /*-------------------------------------------------------------------------*/
65 /*-------------------------------------------------------------------------*/
68 inline FieldContainer *
69 OSBElementBase::getContainer(void)
75 OSBElementBase::setContainer(FieldContainer * const cont)
80 inline const OSBRootElement *
81 OSBElementBase::getRoot(void) const
86 inline OSBRootElement *
87 OSBElementBase::editRoot(void)
93 OSBElementBase::getFCIdFile(void) const
99 OSBElementBase::setFCIdFile(UInt32 fcIdFile)
101 _fcIdFile = fcIdFile;
105 OSBElementBase::getVersion(void) const
110 /*-------------------------------------------------------------------------*/
111 /* OSBElementBase::PtrFieldInfo */
112 /*-------------------------------------------------------------------------*/
114 inline FieldContainer *
115 OSBElementBase::PtrFieldInfo::getContainer(void) const
121 OSBElementBase::PtrFieldInfo::getFieldId(void) const
126 inline const OSBElementBase::PtrFieldInfo::PtrIdStore &
127 OSBElementBase::PtrFieldInfo::getIdStore(void) const
132 inline OSBElementBase::PtrFieldInfo::PtrIdStore &
133 OSBElementBase::PtrFieldInfo::editIdStore(void)
138 inline OSBElementBase::PtrFieldInfo::PtrIdStoreConstIt
139 OSBElementBase::PtrFieldInfo::beginIdStore(void) const
141 return _ptrIds.begin();
144 inline OSBElementBase::PtrFieldInfo::PtrIdStoreIt
145 OSBElementBase::PtrFieldInfo::beginIdStore(void)
147 return _ptrIds.begin();
150 inline OSBElementBase::PtrFieldInfo::PtrIdStoreConstIt
151 OSBElementBase::PtrFieldInfo::endIdStore(void) const
153 return _ptrIds.end();
156 inline OSBElementBase::PtrFieldInfo::PtrIdStoreIt
157 OSBElementBase::PtrFieldInfo::endIdStore(void)
159 return _ptrIds.end();
162 inline const OSBElementBase::PtrFieldInfo::BindingStore &
163 OSBElementBase::PtrFieldInfo::getBindingStore(void) const
168 inline OSBElementBase::PtrFieldInfo::BindingStore &
169 OSBElementBase::PtrFieldInfo::editBindingStore(void)
174 inline OSBElementBase::PtrFieldInfo::BindingStoreConstIt
175 OSBElementBase::PtrFieldInfo::beginBindingStore(void) const
177 return _bindings.begin();
180 inline OSBElementBase::PtrFieldInfo::BindingStoreIt
181 OSBElementBase::PtrFieldInfo::beginBindingStore(void)
183 return _bindings.begin();
186 inline OSBElementBase::PtrFieldInfo::BindingStoreConstIt
187 OSBElementBase::PtrFieldInfo::endBindingStore(void) const
189 return _bindings.end();
192 inline OSBElementBase::PtrFieldInfo::BindingStoreIt
193 OSBElementBase::PtrFieldInfo::endBindingStore(void)
195 return _bindings.end();
199 void OSBElementBase::PtrFieldInfo::setHandledField(bool bVal)
201 _bHandledField = bVal;
205 bool OSBElementBase::PtrFieldInfo::getHandledField(void) const
207 return _bHandledField;