Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix · OSX ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix · OSX ] Distribution Issues

# CUtils

  Various utility routines.

[ Mac | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

## Quick Index

  DESCRIPTION

## Class Summary

class CUtils
{
public:

  static ErrCode enQP( short inLen, Handle inH, short *outLen, Handle *outH );
  static void pStrToCString( char *to, ConstStr255Param from );
  static void pStrToLowerCString( char *to, ConstStr255Param from );
  static char toLower( char c );
  static void pStrcpy( StringPtr d, ConstStr255Param s );
  static void pStrncpy( StringPtr d, ConstStr255Param s, long max );
  static void zeroset( void *to, size_t sz );

protected:

}; // CUtils

Back to the top of CUtils

### DESCRIPTION

Various utility routines.

Back to the top of CUtils

### ErrCode enQP( short inLen, Handle inH, short *outLen, Handle *outH );

Convert a Handle containing a C string into quoted-printable format Returns the converted string in a newly created handle.

    	static	ErrCode enQP( short inLen, Handle inH, short *outLen, Handle *outH );

Back to the top of CUtils

### void pStrToCString( char *to, ConstStr255Param from );

Pascal string --> C string.

    	static	void pStrToCString( char *to, ConstStr255Param from );

Back to the top of CUtils

### void pStrToLowerCString( char *to, ConstStr255Param from );

Pascal string --> lowercase C string.

    	static	void pStrToLowerCString( char *to, ConstStr255Param from );

Back to the top of CUtils

### char toLower( char c );

Convert char to lower case.

    	static	char toLower( char c );

Back to the top of CUtils

### void pStrcpy( StringPtr d, ConstStr255Param s );

Copy a Pascal string.

    	static	void pStrcpy( StringPtr d, ConstStr255Param s );

Back to the top of CUtils

### void pStrncpy( StringPtr d, ConstStr255Param s, long max );

Copy maximum number of Pascal string.

    	static	void pStrncpy( StringPtr d, ConstStr255Param s, long max );

Back to the top of CUtils

### void zeroset( void *to, size_t sz );

Set a buffer to zero

    	static	void zeroset( void *to, size_t sz );

Back to the top of CUtils

## All Members

public:
  static ErrCode enQP( short inLen, Handle inH, short *outLen, Handle *outH );
  static void pStrToCString( char *to, ConstStr255Param from );
  static void pStrToLowerCString( char *to, ConstStr255Param from );
  static char toLower( char c );
  static void pStrcpy( StringPtr d, ConstStr255Param s );
  static void pStrncpy( StringPtr d, ConstStr255Param s, long max );
  static void zeroset( void *to, size_t sz );
protected:

Back to the top of CUtils

## Ancestors

Class does not inherit from any other class.

Back to the top of CUtils

## Descendants

Class is not inherited by any others.

Back to the top of CUtils

Generated from source by the Cocoon utilities on Fri Aug 23 12:34:27 2002 .

Main Page · JConfig · ImageMeister · System Properties Repository · WordMeister · Free Samples · Java Freeware · Contact Us · FAQ · Links

Copyright (c) 1997-2002 Samizdat Productions. All Rights Reserved.
WarpMovie, TileMovie, JConfig, ImageMeister and MovieShredder are Trademarks of Samizdat Productions.