---
name: "misc.h"
section: "3"
platform: "linux"
package: "libcommoncpp2-doc"
version: "1.8.1-10"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/misc.h"
---

# misc.h(3)

Memory management, configuration keydata objects and string tokenizer.

## NAME

misc.h - Memory management, configuration keydata objects and string tokenizer.

## SYNOPSIS

`#include <cc++/missing.h>`\
 `#include <cc++/thread.h>`\

### Classes

class **ost::MemPager**\
 The memory pager is used to allocate cumulative memory pages for storing object specific 'persistant' data that is presumed to persist during the life of a given derived object.  class **ost::StackPager**\
 The **StackPager** provides a repository to stash and retrieve working data in last-in-first-out order.  class **ost::SharedMemPager**\
 The shared mempager uses a mutex to protect key access methods.  class **ost::Keydata**\
 **Keydata** objects are used to load and hold 'configuration' data for a given application.  struct **ost::Keydata::Keyval**\
 struct **ost::Keydata::Keysym**\
 struct **ost::Keydata::Define**\
 class **ost::MemPagerObject**\
 This class is used to create derived classes which are constructed within a memory pager pool.  class **ost::Assoc**\
 This class is used to associate (object) pointers with named strings.  class **ost::Runlist**\
 A runlist is used to restrict concurrent exection to a limited set of concurrent sessions, much like a semaphore.  class **ost::Runable**\
 A container for objects that can be queued against a runlist.

### Namespaces

 **ost**\

### Macros

\#define **KEYDATA\_INDEX\_SIZE**   97\
 \#define **KEYDATA\_PAGER\_SIZE**   512\
 \#define **KEYDATA\_PATH\_SIZE**   256\

### Functions

**\_\_EXPORT** void **ost::endKeydata** (void)\

### Variables

class **\_\_EXPORT** **ost::Runlist**\
 class **\_\_EXPORT** **ost::Runable**\

## Detailed Description

Memory management, configuration keydata objects and string tokenizer.

## Macro Definition Documentation

### #define KEYDATA\_INDEX\_SIZE 97

### #define KEYDATA\_PAGER\_SIZE 512

### #define KEYDATA\_PATH\_SIZE 256

## Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.
