CMCore/inc/hgl/io/SeekOrigin.h

17 lines
630 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef HGL_IO_SEEK_ORIGIN_INCLUDE
#define HGL_IO_SEEK_ORIGIN_INCLUDE
namespace hgl
{
namespace io
{
enum class SeekOrigin /// 资源偏移方向枚举
{
Begin=0, ///<从资源最开始处开始offset必须大于0。移到资源的offset位置
Current, ///<从资源当前位置开始移到资源的Position+offset位置
End ///<从资源的结束位置开始offset必须小于0表示结束前的字符数
};//enum SeekOrigin
}//namespace io
}//namespace hgl
#endif//HGL_IO_SEEK_ORIGIN_INCLUDE