Free Electron
CatalogBuffer.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __core_CatalogBuffer_h__
8 #define __core_CatalogBuffer_h__
9 
10 namespace fe
11 {
12 
13 /**************************************************************************//**
14  @brief Access fe::Array<> properties without invoking std::vector<>
15 
16  @ingroup plugin
17 
18  Potentially useful where stdlib headers are inconsistant.
19 
20  Buffers are only for short term reading and writing.
21  Other accesses can easily change or delete the contents.
22 *//***************************************************************************/
23 class FE_DL_EXPORT CatalogBuffer
24 {
25  public:
26 
27 static void resize(sp<Catalog> a_spCatalog,String a_name,String a_property,
28  I32 a_size);
29 
30 static I32 access(sp<Catalog> a_spCatalog,String a_name,String a_property,
31  void*& a_rpBuffer);
32 };
33 
34 } /* namespace */
35 
36 #endif /* __core_CatalogBuffer_h__ */
Access fe::Array<> properties without invoking std::vector<>
Definition: CatalogBuffer.h:23
kernel
Definition: namespace.dox:3
Automatically reference-counted string container.
Definition: String.h:128
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53