mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Fixed documentation for MemoryInputStream and FileInputStream
This commit is contained in:
parent
58643d78f9
commit
1b2c50a0d8
@ -136,7 +136,7 @@ private:
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \class FileInputStream
|
||||
/// \class sf::FileInputStream
|
||||
/// \ingroup system
|
||||
///
|
||||
/// This class is a specialization of InputStream that
|
||||
@ -153,17 +153,17 @@ private:
|
||||
///
|
||||
/// SFML resource classes can usually be loaded directly from
|
||||
/// a filename, so this class shouldn't be useful to you unless
|
||||
/// you create your own algorithms that operate on a InputStream.
|
||||
/// you create your own algorithms that operate on an InputStream.
|
||||
///
|
||||
/// Usage example:
|
||||
/// \code
|
||||
/// void process(InputStream& stream);
|
||||
///
|
||||
/// FileStream stream;
|
||||
/// FileInputStream stream;
|
||||
/// if (stream.open("some_file.dat"))
|
||||
/// process(stream);
|
||||
/// \endcode
|
||||
///
|
||||
/// InputStream, MemoryStream
|
||||
/// InputStream, MemoryInputStream
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
|
@ -116,7 +116,7 @@ private:
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \class MemoryeInputStream
|
||||
/// \class sf::MemoryInputStream
|
||||
/// \ingroup system
|
||||
///
|
||||
/// This class is a specialization of InputStream that
|
||||
@ -132,17 +132,17 @@ private:
|
||||
///
|
||||
/// SFML resource classes can usually be loaded directly from
|
||||
/// memory, so this class shouldn't be useful to you unless
|
||||
/// you create your own algorithms that operate on a InputStream.
|
||||
/// you create your own algorithms that operate on an InputStream.
|
||||
///
|
||||
/// Usage example:
|
||||
/// \code
|
||||
/// void process(InputStream& stream);
|
||||
///
|
||||
/// MemoryStream stream;
|
||||
/// MemoryInputStream stream;
|
||||
/// stream.open(thePtr, theSize);
|
||||
/// process(stream);
|
||||
/// \endcode
|
||||
///
|
||||
/// InputStream, FileStream
|
||||
/// InputStream, FileInputStream
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user