source: branches/blt4/src/objects/RpChainHelper.h @ 4988

Last change on this file since 4988 was 1566, checked in by dkearney, 15 years ago

updates to Rappture::Library and Rappture::Number objects to demo how the library should store objects and generate the xml for those objects upon request. opting for configure() and dump() functions for objects. the object should know how to configure it self from a string of xml, tree object or (in the future) blob of hdf5. added some rudimentary examples of using the library object.

File size: 724 bytes
Line 
1#ifndef _RP_CHAIN_HELPER_H
2#define _RP_CHAIN_HELPER_H 1
3
4#include "RpInt.h"
5#include "RpChain.h"
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11
12// int chain2hash(Rp_Chain *c, Rp_HashTable *h);
13
14Rp_Chain *Rp_ChainJoin (Rp_Chain *c1, Rp_Chain *c2);
15
16Rp_Chain *Rp_ChainConcat (Rp_Chain *c1, Rp_Chain *c2);
17Rp_Chain *Rp_ChainInsertChainAfter (Rp_Chain *c1, Rp_Chain *c2, Rp_ChainLink *at);
18Rp_Chain *Rp_ChainInsertChainBefore (Rp_Chain *c1, Rp_Chain *c2, Rp_ChainLink *at);
19
20int Rp_ChainCopy (Rp_Chain *c1, Rp_Chain *c2,
21                  int (*cpyFxn)(void **to,void *from));
22
23int Rp_ChainCharCpyFxn (void **to, void *from);
24int Rp_ChainCharCmpFxn (void *to, void *from);
25
26
27#ifdef __cplusplus
28}
29#endif
30
31#endif // _RP_CHAIN_HELPER_H
Note: See TracBrowser for help on using the repository browser.