| 
 | Nestopia Core API | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Base
   |
   +--Nes::Api::Cartridge
Cartridge interface.
| Inner Classes, Typedefs, and Enums | |
| typedef | Nes::Api::Cartridge::ChooseProfileCallbackCartridge profile chooser callback prototype. | 
| class | Nes::Api::Cartridge::DatabaseDatabase interface | 
| struct | Nes::Api::Cartridge::NesHeaderiNES header format context. | 
| struct | Nes::Api::Cartridge::ProfileCartridge profile context. | 
| Field Summary | |
|  static Nes::Api::Cartridge::ChooseProfileCaller | chooseProfileCallbackCartridge profile chooser callback manager. | 
| Constructor Summary | |
| Cartridge( T& instance )Interface constructor. | |
| Method Summary | |
|  Nes::Api::Cartridge::Database | GetDatabase()Returns the database interface. | 
|  const Nes::Api::Cartridge::Profile* | GetProfile() constReturns the current cartridge profile. | 
|  static Result | ReadInes( std::istream& stream, Machine::FavoredSystem system, Nes::Api::Cartridge::Profile& profile )Creates a profile of an iNES file. | 
|  static Result | ReadRomset( std::istream& stream, Machine::FavoredSystem system, bool askProfile, Nes::Api::Cartridge::Profile& profile )Creates a profile of an XML ROM set file. | 
|  static Result | ReadUnif( std::istream& stream, Machine::FavoredSystem system, Nes::Api::Cartridge::Profile& profile )Creates a profile of a UNIF file. | 
| Field Detail | 
public static Nes::Api::Cartridge::ChooseProfileCaller chooseProfileCallback;
| Constructor Detail | 
public Cartridge( T& instance );
instance - emulator instance| Method Detail | 
public Nes::Api::Cartridge::Database GetDatabase() throw();
public const Nes::Api::Cartridge::Profile* GetProfile() const throw();
public static Result ReadInes( std::istream& stream, Machine::FavoredSystem system, Nes::Api::Cartridge::Profile& profile ) throw();
stream - input stream to iNES file
system - preferred system in case of multiple profiles
profile - object to be filledpublic static Result ReadRomset( std::istream& stream, Machine::FavoredSystem system, bool askProfile, Nes::Api::Cartridge::Profile& profile ) throw();
stream - input stream to XML file
system - preferred system in case of multiple profiles
askProfile - allow callback triggering for choosing between multiple profiles
profile - object to be filledpublic static Result ReadUnif( std::istream& stream, Machine::FavoredSystem system, Nes::Api::Cartridge::Profile& profile ) throw();
stream - input stream to UNIF file
system - preferred system in case of multiple profiles
profile - object to be filled| 
 | Nestopia Core API | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||