- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

# ik_IFileReader.h

Go to the documentation of this file.

    00001 // Copyright (C) 2002-2018 Nikolaus Gebhardt
    00002 // This file is part of the "irrKlang" library.
    00003 // For conditions of distribution and use, see copyright notice in irrKlang.h
    00004
    00005 #ifndef __I_IRRKLANG_READ_FILE_H_INCLUDED__
    00006 #define __I_IRRKLANG_READ_FILE_H_INCLUDED__
    00007
    00008 #include "ik_IRefCounted.h"
    00009
    00010 namespace irrklang
    00011 {
    00012
    00014         class IFileReader : public virtual IRefCounted
    00015         {
    00016         public:
    00017
    00018                 virtual ~IFileReader() {};
    00019
    00024                 virtual ik_s32 read(void* buffer, ik_u32 sizeToRead) = 0;
    00025
    00032                 virtual bool seek(ik_s32 finalPos, bool relativeMovement = false) = 0;
    00033
    00036                 virtual ik_s32 getSize() = 0;
    00037
    00040                 virtual ik_s32 getPos() = 0;
    00041
    00044                 virtual const ik_c8* getFileName() = 0;
    00045         };
    00046
    00047 } // end namespace irrklang
    00048
    00049 #endif
    00050

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

| The irrKlang Engine Documentation © 2003-2018 by Nikolaus Gebhardt. Generated by Doxygen (1.6.1)