Go to the documentation of this file.
   33 #  if defined(DEBUG_WITH_FILES) 
   48 bool dumpFile(librevenge::RVNGBinaryData &data, 
char const *fileName);
 
   55 typedef std::stringstream DebugStream;
 
   82         bool open(std::string 
const &filename);
 
   90                 m_skipZones.resize(0);
 
  101         void skipZone(
long beginPos, 
long endPos)
 
  103                 if (m_on) m_skipZones.push_back(
Vec2<long>(beginPos, endPos));
 
  114         mutable std::ofstream m_file;
 
  128                         , m_breaking(false) { }
 
  131                 NotePos(
long p, std::string 
const &n, 
bool br=
true)
 
  143                 bool operator<(NotePos 
const &p)
 const 
  145                         long diff = m_pos-p.m_pos;
 
  146                         if (diff) 
return (diff < 0) ? true : 
false;
 
  147                         if (m_breaking != p.m_breaking) 
return m_breaking;
 
  148                         return m_text < p.m_text;
 
  156                         bool operator()(NotePos 
const &s1, NotePos 
const &s2)
 const 
  164                 typedef std::map<NotePos, int,struct NotePosLt> Map;
 
  170         std::vector<NotePos> m_notes;
 
  172         std::vector<Vec2<long> > m_skipZones;
 
  180 inline bool dumpFile(librevenge::RVNGBinaryData &, 
char const *)
 
  202                 return std::string(
"");
 
  204         static void str(std::string 
const &) { }
 
  215         static bool open(std::string 
const &)
 
  
 
static std::string str()
Definition: WPSDebug.h:200
static bool open(std::string const &)
Definition: WPSDebug.h:215
internal struct used to create sorted map, sorted by X
Definition: libwps_internal.h:675
static void addPos(long)
Definition: WPSDebug.h:220
bool dumpFile(librevenge::RVNGBinaryData &, char const *)
Definition: WPSDebug.h:180
Definition: libwps_internal.cpp:38
static void reset()
Definition: WPSDebug.h:224
static void skipZone(long, long)
Definition: WPSDebug.h:226
DebugStream & operator<<(T const &)
Definition: WPSDebug.h:195
std::string flattenFileName(std::string const &name)
Definition: WPSDebug.h:185
small class which defines a vector with 2 elements
Definition: libwps_internal.h:534
#define WPS_DEBUG_MSG(M)
Definition: libwps_internal.h:134
static void str(std::string const &)
Definition: WPSDebug.h:204
DebugFile(RVNGInputStreamPtr)
Definition: WPSDebug.h:210
static void addNote(char const *)
Definition: WPSDebug.h:221
Definition: WPSDebug.h:191
uint8_t readU8(librevenge::RVNGInputStream *input)
Definition: libwps_internal.cpp:40
~DebugFile()
Definition: WPSDebug.h:213
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
static void addDelimiter(long, char)
Definition: WPSDebug.h:222
Definition: WPSDebug.h:207
DebugFile()
Definition: WPSDebug.h:211
static void setStream(RVNGInputStreamPtr)
Definition: WPSDebug.h:212
Generated on Sat Apr 4 2020 09:17:11 for libwps by 
doxygen 1.8.17