亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? exception.hpp

?? 一個gps小工具包
?? HPP
?? 第 1 頁 / 共 2 頁
字號:
#pragma ident "$Id: Exception.hpp 462 2007-04-09 14:23:14Z btolman $"//============================================================================////  This file is part of GPSTk, the GPS Toolkit.////  The GPSTk is free software; you can redistribute it and/or modify//  it under the terms of the GNU Lesser General Public License as published//  by the Free Software Foundation; either version 2.1 of the License, or//  any later version.////  The GPSTk is distributed in the hope that it will be useful,//  but WITHOUT ANY WARRANTY; without even the implied warranty of//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the//  GNU Lesser General Public License for more details.////  You should have received a copy of the GNU Lesser General Public//  License along with GPSTk; if not, write to the Free Software Foundation,//  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA//  //  Copyright 2004, The University of Texas at Austin////============================================================================//============================================================================////This software developed by Applied Research Laboratories at the University of//Texas at Austin, under contract to an agency or agencies within the U.S. //Department of Defense. The U.S. Government retains all rights to use,//duplicate, distribute, disclose, or release this software. ////Pursuant to DoD Directive 523024 //// DISTRIBUTION STATEMENT A: This software has been approved for public //                           release, distribution is unlimited.////=============================================================================/** * @file Exception.hpp * Exceptions for all of GPSTK, including location information */// The unusual include macro below is done this way because xerces// #defines EXCEPTION_HPP in their own exception class header file.#ifndef GPSTK_EXCEPTION_HPP#define GPSTK_EXCEPTION_HPP#include <iostream>#include <vector>#include <string>namespace gpstk{      /**       * @defgroup exceptiongroup Exception Classes       * These classes are the exceptions that can be thrown in       * the library code. Use these in your catch() blocks       * and you'll be able to get more information       * than what std::exception provides.  Use GPSTK_THROW()       * and GPSTK_RETHROW() to throw or rethrow these exceptions       * to automatically add line and file information to your       * exceptions..       */      /// A class for recording locations (in the source code) of      /// exceptions being thrown.   class ExceptionLocation   {   public:         /**          * Constructor for location information.          * @param filename name of source file where exception occurred.          * @param funcName name of function where exception occurred.          * @param lineNum line of source file where exception occurred.          */      ExceptionLocation(const std::string& filename = std::string(),                        const std::string& funcName = std::string(),                        const unsigned long& lineNum = 0)         throw()            : fileName(filename), functionName(funcName),              lineNumber(lineNum)      { }         /**          * Destructor.          */      ~ExceptionLocation() throw() {}         /// Accessor for name of source file where exception occurred.      std::string getFileName() const          throw()       { return fileName; }         /// Accessor for name of function where exception occurred.      std::string getFunctionName() const          throw()       { return functionName; }         /// Accessor for line of source file where exception occurred.      unsigned long getLineNumber() const          throw()      { return lineNumber; }         /**          * Debug output function.          * @param s stream to output debugging information for this class to.          */      void dump(std::ostream& s) const throw();         /// Dump to a string      std::string what() const throw();         /**          * Output stream operator for ::ExceptionLocation.          * This is intended just to dump all the data in the          * ::ExceptionLocation to the indicated stream.  \warning Warning: It          * will _not_ preserve the state of the stream.          * @param s stream to send ::ExceptionLocation information to.          * @param e ::ExceptionLocation to "dump".          * @return a reference to the stream \c s.          */      friend std::ostream& operator<<( std::ostream& s,                                       const ExceptionLocation& e )         throw();   private:         /// Name of source file where exception occurred.      std::string fileName;         /// Name of function where exception occurred.      std::string functionName;         /// Line in source file where exception occurred.      unsigned long lineNumber;   }; // class ExceptionLocation         /**       * The Exception class is the base class from which all       * exception objects thrown in the library are derived. None of       * the functions in this class throws exceptions because an       * exception has probably already been thrown or is about to be       * thrown.  Each exception object contains the following:       * -  A stack of exception message text strings (descriptions).       * -  An error ID.       * -  A severity code.       * -  An error code group.       * -  Information about where the exception was thrown.       *       * Exception provides all of the functions required for it and       * its derived classes, including functions that operate on the       * text strings in the stack.       *       * @sa exceptiontest.cpp for some examples of how to use this class.       *       * @ingroup exceptiongroup       */   class Exception   {   public:         /// Exception severity classes.      enum Severity      {         unrecoverable, /**< program can not recover from this exception */         recoverable    /**< program can recover from this exception */      };         /**          * Default constructor.          * Does nothing.          */      Exception() throw();         /**          * Full constructor for exception.          * @param errorText text message detailing exception.          * @param errorId error code related to exception e.g. MQ result          * code.          * @param severity severity of error.          */      Exception(const std::string& errorText,                 const unsigned long& errorId = 0,                const Severity& severity = unrecoverable)         throw();         /// Copy constructor.      Exception(const Exception& exception)          throw();         /// Destructor.      ~Exception()          throw()       {};         /// Assignment operator.      Exception& operator=(const Exception& e)         throw();         /**          * Ends the application. Normally, the library only intends          * this function to be used internally by the library's          * exception-handling macros when the compiler you are using          * does not support C++ exception handling. This only occurs          * if you define the NO_EXCEPTIONS_SUPPORT macro.          */      void terminate()         throw()      { exit(1); };         /// Returns the error ID of the exception.       unsigned long getErrorId() const          throw()      { return errorId; };         /**          * Sets the error ID to the specified value.           * @param errId The identifier you want to associate with          * this error.          */      Exception& setErrorId(const unsigned long& errId)         throw()      { errorId = errId; return *this; };         /**          * Adds the location information to the exception object. The          * library captures this information when an exception is          * thrown or rethrown. An array of ExceptionLocation objects          * is stored in the exception object.          *          * @param location An IExceptionLocation object containing          * the following:          * \li          Function name           * \li          File name           * \li          Line number where the function is called           */      Exception& addLocation(const ExceptionLocation& location)          throw();         /**          * Returns the ExceptionLocation object at the specified index.           * @param index If the index is not valid, a 0          * pointer is returned. (well, not really since someone          * changed all this bah)          */      const ExceptionLocation getLocation(const size_t& index=0) const         throw();

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产午夜亚洲精品午夜鲁丝片| 狠狠色丁香久久婷婷综合_中| 亚洲情趣在线观看| 日韩欧美美女一区二区三区| 欧洲一区在线电影| 91国偷自产一区二区使用方法| 精品国产91亚洲一区二区三区婷婷| 在线观看中文字幕不卡| 亚洲三级电影网站| 夜夜精品视频一区二区| 亚洲久本草在线中文字幕| 波多野结衣亚洲| 一本一本久久a久久精品综合麻豆| 国产精品午夜在线| 亚洲人午夜精品天堂一二香蕉| 99视频在线精品| 色综合婷婷久久| 欧美日韩你懂得| 日韩亚洲欧美中文三级| 精品免费日韩av| 国产精品视频免费看| 亚洲日本va在线观看| 51精品秘密在线观看| 日韩三级精品电影久久久 | 一本大道av一区二区在线播放| 亚洲人成影院在线观看| 亚洲一二三专区| 日韩欧美国产三级电影视频| 久久久亚洲综合| 99re热这里只有精品视频| 色八戒一区二区三区| 欧美一区二区在线播放| 国产成人在线电影| 欧美亚洲愉拍一区二区| 精品一区二区日韩| 色综合久久综合网| 91精品国产入口在线| 97精品久久久午夜一区二区三区 | 欧美日韩国产综合久久| 精品国产一区二区亚洲人成毛片| 国产精品福利一区二区| 日韩精品成人一区二区三区| 国产精品视频九色porn| 日韩精品一二三四| 在线欧美日韩精品| 激情综合色丁香一区二区| 97久久超碰精品国产| 日韩一区二区三区三四区视频在线观看| 精品一区二区免费视频| 亚洲一区二区三区影院| 精品sm捆绑视频| 一区二区三区不卡视频| 国产美女视频91| 制服丝袜一区二区三区| 最新国产の精品合集bt伙计| 精品亚洲国产成人av制服丝袜| 在线观看一区不卡| 国产精品福利av| 国产精品一区二区视频| 9191精品国产综合久久久久久| 中文字幕永久在线不卡| 国产福利91精品一区二区三区| 日韩一区二区三区在线观看| 亚洲午夜久久久| 色哟哟一区二区三区| 国产精品久久久久天堂| 顶级嫩模精品视频在线看| 欧美电视剧在线看免费| 日韩精品电影一区亚洲| 91精品久久久久久蜜臀| 亚洲一区在线观看网站| 在线日韩av片| 亚洲国产精品影院| 色狠狠一区二区| 一区二区在线电影| 在线看日韩精品电影| 一区二区三区精品视频| 一本色道久久加勒比精品| 国产精品久久久久久久蜜臀| 国产mv日韩mv欧美| 中文字幕久久午夜不卡| 波多野结衣中文字幕一区| 国产欧美视频一区二区三区| 国产a久久麻豆| 国产精品国产三级国产三级人妇 | 国产精品超碰97尤物18| 成人精品视频网站| 亚洲人被黑人高潮完整版| 欧洲人成人精品| 日韩极品在线观看| 26uuu精品一区二区三区四区在线| 麻豆91在线观看| 国产日产欧产精品推荐色| 成人黄色av电影| 一区二区三区四区精品在线视频 | www.欧美日韩| 亚洲私人黄色宅男| 欧美少妇性性性| 久久99国内精品| 国产精品久久一级| 欧美午夜寂寞影院| 久久er精品视频| 国产精品久久久久三级| 欧美日韩黄色一区二区| 国产不卡在线视频| 亚洲成人自拍偷拍| 欧美精品一区二区三区高清aⅴ| 丁香桃色午夜亚洲一区二区三区| 中文字幕一区二区三区精华液| 欧美日韩日日骚| 国产91精品在线观看| 亚洲第一狼人社区| 亚洲国产成人私人影院tom| 欧美色图激情小说| 国产精品综合二区| 亚洲国产精品久久久久婷婷884| 欧美成人免费网站| 在线免费观看视频一区| 欧美自拍偷拍午夜视频| 亚洲国产精品久久久男人的天堂| 亚洲欧美日韩中文播放| 欧美少妇xxx| 国产电影精品久久禁18| 亚洲高清不卡在线| 国产精品国产自产拍高清av| 欧美一区午夜精品| 在线观看欧美黄色| 成人免费看的视频| 激情久久久久久久久久久久久久久久| 中文字幕一区二区三区av| 亚洲精品一区二区三区福利| 国产亚洲欧美在线| 色94色欧美sute亚洲线路一久| 精品精品国产高清一毛片一天堂| 国产99精品视频| 青青草97国产精品免费观看| 亚洲欧美电影院| 国产欧美在线观看一区| 日韩免费高清av| 欧美日韩二区三区| 欧美亚洲一区二区在线观看| 99国产精品久久久久久久久久| 国产一区二区在线免费观看| 日韩高清电影一区| 性久久久久久久久久久久| 亚洲欧美精品午睡沙发| 国产精品久久久久久久蜜臀| 久久久亚洲综合| 久久亚洲精品小早川怜子| 日韩欧美在线综合网| 56国语精品自产拍在线观看| 欧美日韩一级大片网址| 欧美影视一区在线| 欧美日韩色综合| 欧美精品xxxxbbbb| 日韩一区二区三区在线观看| 91精品国产高清一区二区三区蜜臀| 欧美日韩在线综合| 欧美肥妇free| 日韩欧美在线影院| 国产亚洲短视频| 国产精品青草久久| 国产精品理论在线观看| 国产欧美视频一区二区| 中文字幕一区二区三区在线观看| 国产精品私房写真福利视频| 国产精品福利电影一区二区三区四区| 国产精品色在线| 玉足女爽爽91| 日韩一区精品字幕| 国内精品第一页| caoporen国产精品视频| 欧美性受极品xxxx喷水| 精品久久免费看| 久久婷婷国产综合国色天香 | 亚洲一区二区三区精品在线| 午夜精品久久久久久久99水蜜桃| 视频在线在亚洲| 国产一二精品视频| 色妹子一区二区| 日韩一区二区三区精品视频| 精品国产第一区二区三区观看体验| 国产欧美一区二区精品秋霞影院| 亚洲激情在线激情| 九九九精品视频| 91香蕉国产在线观看软件| 538在线一区二区精品国产| 久久综合一区二区| 亚洲综合在线免费观看| 激情综合亚洲精品| 91搞黄在线观看| 国产丝袜美腿一区二区三区| 一区二区三区日韩精品视频| 久久国产精品露脸对白| 一本久道中文字幕精品亚洲嫩| 日韩无一区二区| 亚洲欧美成aⅴ人在线观看| 久久99国产精品尤物| 在线观看国产一区二区| 国产日韩欧美不卡在线|