kaydara.h File Reference
 
 
 
kaydara.h File Reference

This reference page is linked to from the following overview topics: Customizing the MotionBuilder SDK, Updated Objects, Adjusting the Extraction, Solving from the Goal to the Skeleton, Layouts.


#include <karch/arch.h>
#include <karch/types.h>
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <assert.h>
#include <strings.h>

Defines

#define  K_KERNEL_VERSION   14000
#define  K_NO_PROJECTSETTINGS
#define  MEMORY_DEBUG
#define  KPROFILING_CODE_ENABLE
#define  K_ENABLE_STREAM_FCURVE
#define  NULL   ((void *)0)
#define  K_MAX_TEXT_LENGTH   1020
#define  K_FORWARD(ClassName)   class ClassName; typedef ClassName *H##ClassName
#define  K_FORWARD_HI(ClassName)   class ClassName; typedef ClassName *H##ClassName; typedef H##ClassName HI##ClassName
#define  K_SAFE_FREE_PTR(p)   if( p ){ free( p ); (p) = NULL; }
#define  K_SAFE_DELETE_PTR(p)   if( p ){ delete (p); (p) = NULL; }
#define  K_SAFE_DELETE_ARRAY_PTR(a)   if( a ){ delete [] (a); (a) = NULL; }
#define  K_SAFE_DESTROY_OBJECT(p)   { if( p ){ (p)->Destroy(); (p) = NULL; } }
#define  _MSC_EMULATOR
#define  override
#define  sealed
#define  abstract   =0
#define  _TRUNCATE   ((size_t)-1)
#define  strtok_s(token, sep, context)   strtok( token,sep )
#define  strncat_s(dst, bufsize, src, len)   strncat( dst,src,len )
#define  localtime_s(_Tm, _Time)   _Tm = localtime( _Time )
#define  _stricmp   strcasecmp
#define  strcmpi   strcasecmp
#define  _strcmpi   strcasecmp
#define  stricmp   strcasecmp
#define  strncmpi   strncasecmp
#define  strnicmp   strncasecmp
#define  _atoi64(str)   strtoll( str,NULL,10 )
#define  _isnan(x)   isnan( x )
#define  itoa   _itoa
#define  K_LOCAL_CLASS
#define  K_DEPRECATED_2014

Functions

int  strcpy_s (char *dst, size_t bufsize, const char *src)
template<size_t bufsize>
int  strcpy_s (char(&dst)[bufsize], const char *src)
int  strncpy_s (char *dst, size_t bufsize, const char *src, size_t count)
template<size_t bufsize>
int  strncpy_s (char(&dst)[bufsize], const char *src, size_t count)
int  vsprintf_s (char *buffer, size_t bufsize, const char *format, va_list args)
template<size_t bufsize>
int  vsprintf_s (char(&buffer)[bufsize], const char *format, va_list args)
int  sprintf_s (char *buffer, size_t bufsize, const char *format,...)
template<size_t bufsize>
int  sprintf_s (char(&buffer)[bufsize], const char *format,...)
int  strcat_s (char *dst, size_t bufsize, const char *src)
template<size_t bufsize>
int  strcat_s (char(&dst)[bufsize], const char *src)
char *  _itoa (int pValue, char *pString, int pRadix)

Define Documentation

#define K_KERNEL_VERSION   14000

Definition at line 40 of file kaydara.h.

#define K_NO_PROJECTSETTINGS

Definition at line 43 of file kaydara.h.

#define MEMORY_DEBUG

Definition at line 97 of file kaydara.h.

#define KPROFILING_CODE_ENABLE

Definition at line 101 of file kaydara.h.

#define K_ENABLE_STREAM_FCURVE

Definition at line 134 of file kaydara.h.

#define NULL   ((void *)0)

Definition at line 166 of file kaydara.h.

#define K_MAX_TEXT_LENGTH   1020

Definition at line 175 of file kaydara.h.

#define K_FORWARD (   ClassName )    class ClassName; typedef ClassName *H##ClassName

Definition at line 177 of file kaydara.h.

#define K_FORWARD_HI (   ClassName )    class ClassName; typedef ClassName *H##ClassName; typedef H##ClassName HI##ClassName

Definition at line 178 of file kaydara.h.

#define K_SAFE_FREE_PTR (   p )    if( p ){ free( p ); (p) = NULL; }

Definition at line 180 of file kaydara.h.

#define K_SAFE_DELETE_PTR (   p )    if( p ){ delete (p); (p) = NULL; }

Definition at line 181 of file kaydara.h.

#define K_SAFE_DELETE_ARRAY_PTR (   a )    if( a ){ delete [] (a); (a) = NULL; }

Definition at line 182 of file kaydara.h.

#define K_SAFE_DESTROY_OBJECT (   p )    { if( p ){ (p)->Destroy(); (p) = NULL; } }

Definition at line 184 of file kaydara.h.

#define _MSC_EMULATOR

Definition at line 229 of file kaydara.h.

#define override

Definition at line 232 of file kaydara.h.

#define sealed

Definition at line 235 of file kaydara.h.

#define abstract   =0

Definition at line 236 of file kaydara.h.

#define _TRUNCATE   ((size_t)-1)

Definition at line 239 of file kaydara.h.

#define strtok_s (   token,
  sep,
  context 
)    strtok( token,sep )

Definition at line 298 of file kaydara.h.

#define strncat_s (   dst,
  bufsize,
  src,
  len 
)    strncat( dst,src,len )

Definition at line 302 of file kaydara.h.

#define localtime_s (   _Tm,
  _Time 
)    _Tm = localtime( _Time )

Definition at line 306 of file kaydara.h.

#define _stricmp   strcasecmp

Definition at line 310 of file kaydara.h.

#define strcmpi   strcasecmp

Definition at line 313 of file kaydara.h.

#define _strcmpi   strcasecmp

Definition at line 316 of file kaydara.h.

#define stricmp   strcasecmp

Definition at line 319 of file kaydara.h.

#define strncmpi   strncasecmp

Definition at line 322 of file kaydara.h.

#define strnicmp   strncasecmp

Definition at line 325 of file kaydara.h.

#define _atoi64 (   str )    strtoll( str,NULL,10 )

Definition at line 329 of file kaydara.h.

#define _isnan (   x )    isnan( x )

Definition at line 333 of file kaydara.h.

#define itoa   _itoa

Definition at line 344 of file kaydara.h.

#define K_LOCAL_CLASS

Definition at line 384 of file kaydara.h.

#define K_DEPRECATED_2014

Definition at line 397 of file kaydara.h.


Function Documentation

int strcpy_s ( char *  dst,
size_t  bufsize,
const char *  src 
) [inline]

Definition at line 241 of file kaydara.h.

        {
                strcpy( dst,src );
                return 0;
        }
template<size_t bufsize>
int strcpy_s ( char(&)  dst[bufsize],
const char *  src 
)

Definition at line 246 of file kaydara.h.

        {
                return strcpy_s( dst,bufsize,src );
        }
int strncpy_s ( char *  dst,
size_t  bufsize,
const char *  src,
size_t  count 
) [inline]

Definition at line 251 of file kaydara.h.

        {
                strncpy( dst,src,count );
                return 0;
        }
template<size_t bufsize>
int strncpy_s ( char(&)  dst[bufsize],
const char *  src,
size_t  count 
)

Definition at line 256 of file kaydara.h.

        {
                return strncpy_s( dst,bufsize,src,count );
        }
int vsprintf_s ( char *  buffer,
size_t  bufsize,
const char *  format,
va_list  args 
) [inline]

Definition at line 261 of file kaydara.h.

        {
                return vsprintf( buffer,format, args ); 
        }
template<size_t bufsize>
int vsprintf_s ( char(&)  buffer[bufsize],
const char *  format,
va_list  args 
)

Definition at line 265 of file kaydara.h.

        {
                return vsprintf_s( buffer,bufsize,format, args ); 
        }
int sprintf_s ( char *  buffer,
size_t  bufsize,
const char *  format,
  ... 
) [inline]

Definition at line 270 of file kaydara.h.

        {
                va_list Arguments;
                va_start( Arguments, format);     /* Initialize variable arguments. */
                int result = vsprintf_s( buffer,bufsize,format, Arguments ); 
                va_end( Arguments );                    /* Reset variable arguments.      */
                return result;
        }
template<size_t bufsize>
int sprintf_s ( char(&)  buffer[bufsize],
const char *  format,
  ... 
)

Definition at line 278 of file kaydara.h.

        {
                va_list Arguments;
                va_start( Arguments, format);     /* Initialize variable arguments. */
                int result = vsprintf_s( buffer,bufsize,format, Arguments ); 
                va_end( Arguments );                    /* Reset variable arguments.      */
                return result;
        }
int strcat_s ( char *  dst,
size_t  bufsize,
const char *  src 
) [inline]

Definition at line 287 of file kaydara.h.

        {
                strcat( dst,src );
                return 0;
        }
template<size_t bufsize>
int strcat_s ( char(&)  dst[bufsize],
const char *  src 
)

Definition at line 292 of file kaydara.h.

        {
                return strcat_s( dst,bufsize,src );
        }
char* _itoa ( int  pValue,
char *  pString,
int  pRadix 
) [inline]

Definition at line 336 of file kaydara.h.

        {
                assert(pRadix==10);
                if (pString) sprintf(pString,"%d", pValue);
                return pString;
        }

Go to the source code of this file.