libnedit
Lightweight C++ library for Nintendo DS(i) formats
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
ntr::fmt::SSEQ Struct Reference
Inheritance diagram for ntr::fmt::SSEQ:
ntr::fs::FileFormat

Classes

struct  DataSection
 
struct  Event
 
struct  EventAttackRate
 
struct  EventCall
 
struct  EventDecayRate
 
struct  EventEndOfTrack
 
struct  EventExpression
 
struct  EventJump
 
struct  EventLoopEnd
 
struct  EventLoopStart
 
struct  EventMasterVolume
 
struct  EventModulationDelay
 
struct  EventModulationDepth
 
struct  EventModulationRange
 
struct  EventModulationSpeed
 
struct  EventModulationType
 
struct  EventMultiTrack
 
struct  EventNoteOn
 
struct  EventNoteWait
 
union  EventOffset
 
struct  EventOpenTrack
 
struct  EventPan
 
struct  EventPitchBend
 
struct  EventPitchBendRange
 
struct  EventPortamento
 
struct  EventPortamentoControl
 
struct  EventPortamentoTime
 
struct  EventPrintVariable
 
struct  EventProgramChange
 
struct  EventReleaseRate
 
struct  EventRest
 
struct  EventReturn
 
struct  EventSustainRate
 
struct  EventSweepPitch
 
struct  EventTempo
 
struct  EventTie
 
struct  EventTrackPriority
 
struct  EventTranspose
 
struct  EventVolume
 
struct  Header
 

Public Types

enum class  EventType {
  NoteOn , Rest , ProgramChange , MultiTrack ,
  OpenTrack , Jump , Call , Pan ,
  Volume , MasterVolume , Transpose , PitchBend ,
  PitchBendRange , TrackPriority , NoteWait , Tie ,
  PortamentoControl , ModulationDepth , ModulationSpeed , ModulationType ,
  ModulationRange , Portamento , PortamentoTime , AttackRate ,
  DecayRate , SustainRate , ReleaseRate , LoopStart ,
  Expression , PrintVariable , ModulationDelay , Tempo ,
  SweepPitch , LoopEnd , Return , EndOfTrack
}
 

Public Member Functions

 SSEQ (const SSEQ &)=delete
 
Result ValidateImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp) override
 
Result ReadImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp) override
 
Result WriteImpl (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp) override
 
- Public Member Functions inherited from ntr::fs::FileFormat
Result Validate (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp=fs::FileCompression::None)
 
Result ReadFrom (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle, const fs::FileCompression comp=fs::FileCompression::None)
 
Result ReadCompressedFrom (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle)
 
Result WriteTo (const std::string &path, std::shared_ptr< fs::FileHandle > file_handle)
 
Result WriteTo (std::shared_ptr< fs::FileHandle > file_handle)
 

Public Attributes

Header header
 
DataSection data
 
std::vector< SSEQ::Eventevents
 
- Public Attributes inherited from ntr::fs::FileFormat
std::string read_path
 
std::shared_ptr< fs::FileHandleread_file_handle
 
std::string write_path
 
std::shared_ptr< fs::FileHandlewrite_file_handle
 
fs::FileCompression comp
 

Member Function Documentation

◆ ReadImpl()

Result ntr::fmt::SSEQ::ReadImpl ( const std::string & path,
std::shared_ptr< fs::FileHandle > file_handle,
const fs::FileCompression comp )
overridevirtual

Implements ntr::fs::FileFormat.

◆ ValidateImpl()

Result ntr::fmt::SSEQ::ValidateImpl ( const std::string & path,
std::shared_ptr< fs::FileHandle > file_handle,
const fs::FileCompression comp )
overridevirtual

Implements ntr::fs::FileFormat.

◆ WriteImpl()

Result ntr::fmt::SSEQ::WriteImpl ( const std::string & path,
std::shared_ptr< fs::FileHandle > file_handle,
const fs::FileCompression comp )
inlineoverridevirtual

Implements ntr::fs::FileFormat.


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