acme
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages Concepts
get_memory.h
1#pragma once
2
3
4//#include "block.h"
5
6
7class CLASS_DECL_ACME get_memory
8{
9public:
10
11
12 memory_base * m_pmemory;
13 block m_block;
14
15
16 get_memory(memory_base & memory);
17 get_memory(memory_base * pmemory);
18 // block is const, its memory not!!!!
19 get_memory(const block & block);
20 // VOID * NOT const!!
21 get_memory(/* NOTTTT const!!!!! */ void * p, memsize s);
22
23 ~get_memory();
24
25
26 void * get(memsize s);
27
28 bool get_base64(const ::string & str);
29
30 bool get(const void * pdata, memsize s);
31
32 bool get(const memory_base & memory);
33
34 bool get(const block & block);
35
36 unsigned char * data() const;
37
38 memsize size() const;
39
40
41};
42
43
44
Definition memory_base.h:96
Definition memory.h:33
Definition block.h:49