Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions

# PNMFileType Class Reference

This is the base class of a family of classes that represent particular image file types that PNMImage supports. More...

Inheritance diagram for PNMFileType:

List of all members.

## Public Member Functions
string | getExtension (int n)
| Returns the nth possible filename extension associated with this particular file type, without a leading dot.
list | getExtensions ()
string | getName ()
int | getNumExtensions ()
| Returns the number of different possible filename extensions associated with this particular file type.
string | getSuggestedExtension ()
| Returns a suitable filename extension (without a leading dot) to suggest for files of this type, or empty string if no suggestions are available.
## Static Public Member Functions
static TypeHandle | getClassType ()

## Detailed Description

This is the base class of a family of classes that represent particular image file types that PNMImage supports.

## Member Function Documentation

static TypeHandle getClassType | ( |  | ) | `[static]`

Reimplemented from TypedWritable.

string getExtension | ( | int | n | ) |

Returns the nth possible filename extension associated with this particular file type, without a leading dot.

list getExtensions | ( |  | ) |

string getName | ( |  | ) |

int getNumExtensions | ( |  | ) |

Returns the number of different possible filename extensions associated with this particular file type.

string getSuggestedExtension | ( |  | ) |

Returns a suitable filename extension (without a leading dot) to suggest for files of this type, or empty string if no suggestions are available.

All Classes Namespaces Functions Variables Enumerations Enumerator Properties