Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
flac
Commits
f1c2379c
Commit
f1c2379c
authored
Sep 24, 2003
by
Josh Coalson
Browse files
inline *::State::resolved_as_cstring()
parent
38e2927b
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/FLAC++/decoder.h
View file @
f1c2379c
...
...
@@ -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_
;
};
...
...
include/FLAC++/encoder.h
View file @
f1c2379c
...
...
@@ -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_
;
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment