Adobe.com
Contents Suites Classes Class Index Member Index

ai::PlatformTraits Struct Reference

Encoding characteristics and functions for platform encoding. More...

#include <IAICharacterEncoding.h>

List of all members.

Public Types

typedef char unit_type
 The basic type used to represent the data.

Static Public Member Functions

static AICharacterEncoding encoding ()
 Retrieves the Illustrator character-encoding type.
static size_t codes_2_units (size_t codes)
 Reports the maximum number of elements of the basic type needed to represent a sequence of a given number of character codes.
static size_t units_2_codes (size_t units)
 Reports the maximum number of characters codes that could be encoded by a given number of elements of the basic type.

Detailed Description

Encoding characteristics and functions for platform encoding.


Member Typedef Documentation

The basic type used to represent the data.


Member Function Documentation

static size_t ai::PlatformTraits::codes_2_units ( size_t  codes  )  [inline, static]

Reports the maximum number of elements of the basic type needed to represent a sequence of a given number of character codes.

Parameters:
codes The number of character codes.
Returns:
The number of elements needed.
static AICharacterEncoding ai::PlatformTraits::encoding (  )  [inline, static]

Retrieves the Illustrator character-encoding type.

Returns:
The encoding type constant.

References kAIPlatformCharacterEncoding.

static size_t ai::PlatformTraits::units_2_codes ( size_t  units  )  [inline, static]

Reports the maximum number of characters codes that could be encoded by a given number of elements of the basic type.

Parameters:
units The number of elements.
Returns:
The number of character codes.

The documentation for this struct was generated from the following file:


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks