1#ifndef  __JBXL_CPP_TOOLSPP_H_ 
    2#define  __JBXL_CPP_TOOLSPP_H_ 
   59    if (n>0) _value = (T*)malloc(
sizeof(T)*_size);
 
 
   71        if (_value!=NULL) ::free(_value);
 
 
   84    if (_size<=0 || _value==NULL) 
return;
 
   86    for (
int i=0; i<_size; i++) {
 
 
   98    if (n>=_size || n<0) {
 
   99        PRINT_MESG(
"WARNING: ArrayParam<T>::get_value: size missmatch (%d !< %d)\n", n, _size);
 
  101    if (_size<=0 || _value==NULL) 
return (T)0;
 
  104    else if (n>=_size) n = _size - 1;
 
 
  115    if (_size<=0 || _value==NULL) 
return false;
 
  117    if (n>=_size || n<0) {
 
  118        PRINT_MESG(
"WARNING: ArrayParam<T>::set_value: size missmatch (%d !< %d)\n", n, _size);
 
 
  140    if (del) this->free();
 
  143    for (
int i=0; i<this->_size; i++) {
 
 
 
  158        for (
int i=0; i<num; i++) {
 
 
  229        T* pp = (T*)lt->ldat.ptr;
 
 
 
 
 
 
 
 
Buffer encode_base64_Buffer(Buffer buf)
バイナリデータ buf.bufの buf.vldszバイトを Base64にエンコード する
 
Buffer decode_base64_Buffer(Buffer str)
strのバッファを Base64からデコードする
 
Buffer encode_base64_Buffer_bin(unsigned char *bin, unsigned int sz, int nopad)
sz バイトの バイナリデータ binを Base64にエンコード する.
 
bool set_value(int n, T val)
 
virtual ~ArrayParam(void)
 
void dup(ArrayParam< T > a, bool del=true)
 
Buffer encode_Buffer_bin(unsigned char *str, int sz, int nopad=FALSE)
 
unsigned char * encode(unsigned char *str, int sz)
 
unsigned char * decode(unsigned char *str, int *sz)
 
Buffer decode(Buffer buf)
 
Buffer encode(Buffer buf)
 
void del_tList_object(tList **lp)
 
void freeArrayParams(ArrayParam< T > *p, int num)
 
tList * add_tList_object(tList *lt, T obj)
 
void DisPatcher(int sno=0,...)
 
tList * del_tList(tList **pp)
指定したリストノード以降のリストを削除.
 
tList * add_tList_node_bystr(tList *pp, int id, int lv, const char *key, const char *val, void *ptr, int sz)
文字列データからリスト用ノードを生成し(new),それをリストに追加.