inline *::State::resolved_as_cstring()
This commit is contained in:
parent
38e2927bd0
commit
f1c2379c47
@ -95,7 +95,6 @@ namespace FLAC {
|
||||
inline State(::FLAC__StreamDecoderState state): state_(state) { }
|
||||
inline operator ::FLAC__StreamDecoderState() const { return state_; }
|
||||
inline const char *as_cstring() const { return ::FLAC__StreamDecoderStateString[state_]; }
|
||||
const char *resolved_as_cstring(const Stream &) const;
|
||||
protected:
|
||||
::FLAC__StreamDecoderState state_;
|
||||
};
|
||||
@ -181,7 +180,7 @@ namespace FLAC {
|
||||
inline State(::FLAC__SeekableStreamDecoderState state): state_(state) { }
|
||||
inline operator ::FLAC__SeekableStreamDecoderState() const { return state_; }
|
||||
inline const char *as_cstring() const { return ::FLAC__SeekableStreamDecoderStateString[state_]; }
|
||||
const char *resolved_as_cstring(const SeekableStream &) const;
|
||||
inline const char *resolved_as_cstring(const SeekableStream &decoder) const { return ::FLAC__seekable_stream_decoder_get_resolved_state_string(decoder.decoder_); }
|
||||
protected:
|
||||
::FLAC__SeekableStreamDecoderState state_;
|
||||
};
|
||||
@ -276,7 +275,7 @@ namespace FLAC {
|
||||
inline State(::FLAC__FileDecoderState state): state_(state) { }
|
||||
inline operator ::FLAC__FileDecoderState() const { return state_; }
|
||||
inline const char *as_cstring() const { return ::FLAC__FileDecoderStateString[state_]; }
|
||||
const char *resolved_as_cstring(const File &) const;
|
||||
inline const char *resolved_as_cstring(const File &decoder) const { return ::FLAC__file_decoder_get_resolved_state_string(decoder.decoder_); }
|
||||
protected:
|
||||
::FLAC__FileDecoderState state_;
|
||||
};
|
||||
|
@ -96,7 +96,7 @@ namespace FLAC {
|
||||
inline State(::FLAC__StreamEncoderState state): state_(state) { }
|
||||
inline operator ::FLAC__StreamEncoderState() const { return state_; }
|
||||
inline const char *as_cstring() const { return ::FLAC__StreamEncoderStateString[state_]; }
|
||||
const char *resolved_as_cstring(const Stream &) const;
|
||||
inline const char *resolved_as_cstring(const Stream &encoder) const { return ::FLAC__stream_encoder_get_resolved_state_string(encoder.encoder_); }
|
||||
protected:
|
||||
::FLAC__StreamEncoderState state_;
|
||||
};
|
||||
@ -189,7 +189,7 @@ namespace FLAC {
|
||||
inline State(::FLAC__SeekableStreamEncoderState state): state_(state) { }
|
||||
inline operator ::FLAC__SeekableStreamEncoderState() const { return state_; }
|
||||
inline const char *as_cstring() const { return ::FLAC__SeekableStreamEncoderStateString[state_]; }
|
||||
const char *resolved_as_cstring(const SeekableStream &) const;
|
||||
inline const char *resolved_as_cstring(const SeekableStream &encoder) const { return ::FLAC__seekable_stream_encoder_get_resolved_state_string(encoder.encoder_); }
|
||||
protected:
|
||||
::FLAC__SeekableStreamEncoderState state_;
|
||||
};
|
||||
@ -283,7 +283,7 @@ namespace FLAC {
|
||||
inline State(::FLAC__FileEncoderState state): state_(state) { }
|
||||
inline operator ::FLAC__FileEncoderState() const { return state_; }
|
||||
inline const char *as_cstring() const { return ::FLAC__FileEncoderStateString[state_]; }
|
||||
const char *resolved_as_cstring(const File &) const;
|
||||
inline const char *resolved_as_cstring(const File &encoder) const { return ::FLAC__file_encoder_get_resolved_state_string(encoder.encoder_); }
|
||||
protected:
|
||||
::FLAC__FileEncoderState state_;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user