7 #ifndef __surface_SurfaceAccessibleI_h__ 8 #define __surface_SurfaceAccessibleI_h__ 15 class SurfaceAccessorI;
84 e_primitivesWithPoints
90 e_unknown=WorkI::e_unknown,
91 e_singleThread=WorkI::e_singleThread,
92 e_multiThread=WorkI::e_multiThread
101 virtual I32 filterCount(
void)
const =0;
102 virtual I32 filter(I32 a_filterIndex)
const =0;
114 m_typeName=a_typeName;
116 const String& name(
void)
const {
return m_name; }
117 const String& typeName(
void)
const {
return m_typeName; }
119 bool operator==(
const Spec& a_rOtherSpec)
const 120 {
return (a_rOtherSpec.m_name==m_name &&
121 a_rOtherSpec.m_typeName==m_typeName); }
129 class ThreadingState:
public Counted 132 ThreadingState(
void):
133 m_threading(e_singleThread) {}
134 void set(SurfaceAccessibleI::Threading
136 { m_threading=a_threading; }
137 SurfaceAccessibleI::Threading threading(
void)
const 138 {
return m_threading; }
140 SurfaceAccessibleI::Threading m_threading;
144 virtual BWORD isBound(
void) =0;
146 virtual void bind(
Instance a_instance) =0;
151 a_spThreadingState) =0;
154 virtual BWORD load(
String a_filename) =0;
156 virtual BWORD load(
String a_filename,
159 virtual BWORD save(
String a_filename) =0;
161 virtual BWORD save(
String a_filename,
166 virtual BWORD threadable(
void) =0;
169 virtual void lock(
void) =0;
170 virtual void lock(I64 a_id) =0;
172 virtual void unlock(
void) =0;
173 virtual void unlock(I64 a_id) =0;
176 SurfaceAccessibleI::Element
178 virtual void attributeSpecs(
181 SurfaceAccessibleI::Element
183 virtual void attributeSpecs(
187 SurfaceAccessibleI::Element
190 virtual void clear(
void) =0;
192 virtual I32 count(
String a_nodeName,
193 SurfaceAccessibleI::Element
195 virtual I32 count(SurfaceAccessibleI::Element
200 SurfaceAccessibleI::Element a_element,
202 SurfaceAccessibleI::Creation a_create,
203 SurfaceAccessibleI::Writable a_writable
206 SurfaceAccessibleI::Element a_element,
207 SurfaceAccessibleI::Attribute
209 SurfaceAccessibleI::Creation a_create,
210 SurfaceAccessibleI::Writable a_writable
214 SurfaceAccessibleI::Element a_element,
216 SurfaceAccessibleI::Creation a_create)
219 SurfaceAccessibleI::Element a_element,
220 SurfaceAccessibleI::Attribute
222 SurfaceAccessibleI::Creation a_create)
227 SurfaceAccessibleI::Creation a_create
230 SurfaceAccessibleI::Attribute
232 SurfaceAccessibleI::Creation a_create
238 SurfaceAccessibleI::Attribute
246 virtual I32 discardPattern(
247 SurfaceAccessibleI::Element a_element,
249 virtual BWORD discard(SurfaceAccessibleI::Element a_element,
251 virtual BWORD discard(SurfaceAccessibleI::Element a_element,
252 SurfaceAccessibleI::Attribute
263 virtual I32 deleteElements(
264 SurfaceAccessibleI::Element a_element,
266 BWORD a_retainGroups) =0;
267 virtual I32 deleteElements(
268 SurfaceAccessibleI::Element a_element,
269 std::set<I32>& a_rIntSet,
270 BWORD a_retainGroups) =0;
276 SurfaceI::Restrictions
282 SurfaceI::Restrictions
286 a_spSurfaceAccessible) =0;
288 a_spSurfaceAccessible,
291 a_spSurfaceAccessible,
295 a_spSurfaceAccessibleI,
300 a_spSurfaceAccessible,
307 a_spSurfaceAccessibleI,
309 a_rTransformArray) =0;
312 a_atomicChange,
String a_group,
313 U32 a_desiredCount) =0;
316 SurfaceAccessibleI::AtomicChange
317 a_atomicChange,
String a_group,
319 BWORD a_checkPages) =0;
321 virtual void setPaging(BWORD a_paging) =0;
322 virtual BWORD paging(
void)
const =0;
324 virtual void preparePaging(SurfaceAccessibleI::AtomicChange
325 a_atomicChange,
String a_group) =0;
326 virtual I32 pointPage(U32 a_pointIndex)
const =0;
327 virtual I32 primitivePage(U32 a_primitiveIndex)
const =0;
330 a_rStringArray)
const =0;
Surface Element Access and Alteration.
Definition: SurfaceAccessibleI.h:22
Heap-based support for classes participating in fe::ptr <>
Definition: Counted.h:35
Smart pointer used with types represented by BaseType.
Definition: Instance.h:28
kernel
Definition: namespace.dox:3
view to a reduced set in indices
Definition: SurfaceAccessibleI.h:96
BWORD operator==(const DualString &s1, const DualString &s2)
Compare two DualString's.
Definition: DualString.h:208
Automatically reference-counted string container.
Definition: String.h:128
Wrapper for std::vector.
Definition: Array.h:21
Base for all interfacable components.
Definition: Component.h:20
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192