Go to the documentation of this file.
31 "Error trying to open file: '%s'", fileName.c_str());
48 return m_if.is_open();
69 if (!
m_if.is_open())
return 0;
71 m_if.read(
static_cast<char*
>(Buffer), Count);
72 return m_if.fail() ? 0 : Count;
93 if (!
m_if.is_open())
return 0;
95 ifstream::off_type
offset = Offset;
96 ifstream::seekdir way;
125 auto& f =
const_cast<std::ifstream&
>(
m_if);
127 const uint64_t previousPos = f.tellg();
130 f.seekg(previousPos, ios_base::beg);
139 auto& f =
const_cast<std::ifstream&
>(
m_if);
156 if (!
m_if.is_open())
return false;
158 std::getline(
m_if, str);
167 if (!
m_if.is_open())
return true;
TSeekOrigin
Used in CStream::Seek.
#define MRPT_UNUSED_PARAM(a)
Determines whether this is an X86 or AMD64 platform.
#define THROW_EXCEPTION_FMT(_FORMAT_STRING,...)
#define THROW_EXCEPTION(msg)
unsigned __int64 uint64_t
GLsizei const GLfloat * value
GLsizei const GLchar ** string
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |