本文整理汇总了C++中FileStore::dump方法的典型用法代码示例。如果您正苦于以下问题:C++ FileStore::dump方法的具体用法?C++ FileStore::dump怎么用?C++ FileStore::dump使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FileStore
的用法示例。
在下文中一共展示了FileStore::dump方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: dumpClock
/// Dump information about the clock store to an ostream.
/// @param[in] os ostream to receive the output; defaults to std::cout
/// @param[in] detail integer level of detail to provide; allowed values are
/// 0: number of satellites, time step and time limits
/// 1: above plus flags, gap and interval values, and number of data/sat
/// 2: above plus all the data tables
void dumpClock(std::ostream& os = std::cout, short detail = 0)
const throw()
{
if(useSP3clock)
SP3Files.dump(os, detail);
else
clkFiles.dump(os, detail);
clkStore.dump(os, detail);
}
示例2: dump
/// Dump information about the store to an ostream.
/// @param[in] os ostream to receive the output; defaults to std::cout
/// @param[in] detail integer level of detail to provide; allowed values are
/// 0: number of satellites, time step and time limits
/// 1: above plus flags, gap and interval values, and number of data/sat
/// 2: above plus all the data tables
virtual void dump(std::ostream& os = std::cout, short detail = 0)
const throw()
{
// may have to re-write this...
os << "Dump SP3EphemerisStore:" << std::endl;
// 'reject' flags
os << (rejectBadPosFlag ? " Reject":" Do not reject") << " bad positions."
<< std::endl;
os << (rejectBadClockFlag ? " Reject":" Do not reject") << " bad clocks."
<< std::endl;
os << (rejectPredPosFlag ? " Reject":" Do not reject")
<< " predicted positions." << std::endl;
os << (rejectPredClockFlag ? " Reject":" Do not reject")
<< " predicted clocks." << std::endl;
SP3Files.dump(os, detail);
posStore.dump(os, detail);
if(!useSP3clock) clkFiles.dump(os, detail);
clkStore.dump(os, detail);
os << "End dump SP3EphemerisStore." << std::endl;
}
示例3: dump
/// Dump information about the store to an ostream.
/// @param[in] os ostream to receive the output; defaults to std::cout
/// @param[in] detail integer level of detail to provide; allowed values are
/// 0: number of satellites, time step and time limits
/// 1: above plus flags, gap and interval values, and number of data/sat
/// 2: above plus all the data tables
virtual void dump(std::ostream& os=std::cout, short detail=0)
const throw()
{
// may have to re-write this...
os << "Dump Rinex3EphemerisStore:" << std::endl;
// dump the time system corrections
std::map<std::string,TimeSystemCorrection>::const_iterator tcit;
for(tcit=mapTimeCorr.begin(); tcit != mapTimeCorr.end(); ++tcit) {
os << "Time correction for " << tcit->second.asString4() << " : "
<< tcit->second.asString() << " " << std::scientific << std::setprecision(12);
switch(tcit->second.type) {
case TimeSystemCorrection::GPUT:
os << ", A0 = " << tcit->second.A0
<< ", A1 = " << tcit->second.A1
<< ", RefTime = week/sow " << tcit->second.refWeek
<< "/" << tcit->second.refSOW;
break;
case TimeSystemCorrection::GAUT:
os << ", A0 = " << tcit->second.A0
<< ", A1 = " << tcit->second.A1
<< ", RefTime = week/sow " << tcit->second.refWeek
<< "/" << tcit->second.refSOW;
break;
case TimeSystemCorrection::SBUT:
os << ", A0 = " << tcit->second.A0
<< ", A1 = " << tcit->second.A1
<< ", RefTime = week/sow " << tcit->second.refWeek
<< "/" << tcit->second.refSOW
<< ", provider " << tcit->second.geoProvider
<< ", UTC ID = " << tcit->second.geoUTCid;
break;
case TimeSystemCorrection::GLUT:
os << ", -TauC = " << tcit->second.A0;
break;
case TimeSystemCorrection::GPGA:
os << ", A0G = " << tcit->second.A0
<< ", A1G = " << tcit->second.A1
<< ", RefTime = week/sow " << tcit->second.refWeek
<< "/" << tcit->second.refSOW;
break;
case TimeSystemCorrection::GLGP:
os << ", TauGPS = " << tcit->second.A0
<< " = " << tcit->second.A0 * C_MPS
<< " m, RefTime = yr/mon/day "
<< tcit->second.refYr
<< "/" << tcit->second.refMon
<< "/" << tcit->second.refDay;
break;
}
os << std::endl;
}
NavFiles.dump(os, detail);
GPSstore.dump(os, detail);
GLOstore.dump(os, detail);
GALstore.dump(os, detail);
//if(GEOstore.size()) GEOstore.dump(os, detail);
//if(COMstore.size()) COMstore.dump(os, detail);
os << "End dump Rinex3EphemerisStore." << std::endl;
}
示例4: dumpPosition
/// Dump information about the position store to an ostream.
/// @param[in] os ostream to receive the output; defaults to std::cout
/// @param[in] detail integer level of detail to provide; allowed values are
/// 0: number of satellites, time step and time limits
/// 1: above plus flags, gap and interval values, and number of data/sat
/// 2: above plus all the data tables
void dumpPosition(std::ostream& os = std::cout, short detail = 0)
const throw()
{
SP3Files.dump(os, detail);
posStore.dump(os, detail);
}