當前位置: 首頁>>代碼示例>>C++>>正文


C++ Beagle_StackTraceBeginM函數代碼示例

本文整理匯總了C++中Beagle_StackTraceBeginM函數的典型用法代碼示例。如果您正苦於以下問題:C++ Beagle_StackTraceBeginM函數的具體用法?C++ Beagle_StackTraceBeginM怎麽用?C++ Beagle_StackTraceBeginM使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了Beagle_StackTraceBeginM函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C++代碼示例。

示例1: setFileName

	/*!
	 *  \brief Set the file name where the exception is detected (throwed).
	 *  \param inFileName File name where the exception is detected.
	 */
	inline void setFileName(const std::string& inFileName)
	{
		Beagle_StackTraceBeginM();
		mFileName = inFileName;
		Beagle_StackTraceEndM("void TargetedException::setFileName(const std::string& inFileName)");
	}
開發者ID:splodginald,項目名稱:MPI-PACC-OpenBeagle,代碼行數:10,代碼來源:TargetedException.hpp

示例2: insertNegativeOp

	/*!
	 *  \brief Insert an operator in the negative set of the if-then-else operator.
	 *  \param inOperator Operator to insert.
	 *  \warning Insert your operators before the initialization!
	 */
	void insertNegativeOp(Beagle::Operator::Handle inOperator) {
		Beagle_StackTraceBeginM();
		mNegativeOpSet.push_back(inOperator);
		Beagle_StackTraceEndM();
	}
開發者ID:AngelGate,項目名稱:beagle,代碼行數:10,代碼來源:IfThenElseOp.hpp

示例3: setConditionValue

	/*!
	 *  \brief Set parameter value of condition to use.
	 */
	inline void setConditionValue(std::string inValue) {
		Beagle_StackTraceBeginM();
		mConditionValue = inValue;
		Beagle_StackTraceEndM();
	}
開發者ID:AngelGate,項目名稱:beagle,代碼行數:8,代碼來源:IfThenElseOp.hpp

示例4: setValid

 /*!
  *  \brief Validate the fitness.
  */
 inline void setValid() {
     Beagle_StackTraceBeginM();
     mValid = true;
     Beagle_StackTraceEndM();
 }
開發者ID:falcong,項目名稱:beagle-1,代碼行數:8,代碼來源:Fitness.hpp

示例5: getPositiveSet

	/*!
	 *  \brief Return a constant reference to the positive operator set.
	 *  \return Positive operator set constant reference.
	 */
	inline const Beagle::Operator::Bag& getPositiveSet() const {
		Beagle_StackTraceBeginM();
		return mPositiveOpSet;
		Beagle_StackTraceEndM();
	}
開發者ID:AngelGate,項目名稱:beagle,代碼行數:9,代碼來源:IfThenElseOp.hpp

示例6: getWrappedValue

	/*!
	 *  \brief Get the wrapped type value.
	 *  \return A constant reference to the wrapped value.
	 */
	inline const T& getWrappedValue() const {
		Beagle_StackTraceBeginM();
		return mWrappedValue;
		Beagle_StackTraceEndM();
	}
開發者ID:AngelGate,項目名稱:beagle,代碼行數:9,代碼來源:WrapperT.hpp

示例7: isValid

 /*!
  *  \brief Return validity of the fitness.
  *  \return True if fitness is valid, false if not.
  */
 inline bool isValid() const {
     Beagle_StackTraceBeginM();
     return mValid;
     Beagle_StackTraceEndM();
 }
開發者ID:falcong,項目名稱:beagle-1,代碼行數:9,代碼來源:Fitness.hpp

示例8: Beagle_StackTraceBeginM

/*!
 *  \brief  Test whether an string is not equal to another.
 *  \param  inLeftString  Left string compared.
 *  \param  inRightString Right string compared.
 *  \return True if left string is not equal to the right one, false if it is.
 *  \par Note:
 *    The operator is defined relatively to the function isEqual of Beagle::String.
 */
inline bool operator!=(const Beagle::String& inLeftString, const Beagle::String& inRightString)
{
	Beagle_StackTraceBeginM();
	return ( inLeftString.isEqual(inRightString) == false);
	Beagle_StackTraceEndM("bool operator!=(const String& inLeftString, const String& inRightString)");
}
開發者ID:splodginald,項目名稱:MPI-PACC-OpenBeagle,代碼行數:14,代碼來源:String.hpp

示例9: setNumThreads

	/*!	\brief Set the number of threads that OpenMP will use in the parallel sections.
	 *	\param iNumThreads is the number of threads to use.
	 */
	inline virtual void	setNumThreads(unsigned int inNumThreads){
		Beagle_StackTraceBeginM();
		omp_set_num_threads(inNumThreads);
		Beagle_StackTraceEndM("unsigned int OpenMP::setNumThreads(unsigned int)");
	}
開發者ID:splodginald,項目名稱:MPI-PACC-OpenBeagle,代碼行數:8,代碼來源:OpenMP.hpp

示例10: getThreadNum

	/*!	\brief
	 *	\return
	 */
	inline unsigned int getThreadNum() const{
		Beagle_StackTraceBeginM();
		return omp_get_thread_num();
		Beagle_StackTraceEndM("unsigned int OpenMP::getThreadNum() const");
	}
開發者ID:splodginald,項目名稱:MPI-PACC-OpenBeagle,代碼行數:8,代碼來源:OpenMP.hpp

示例11: inParallelSection

	/*!	\brief
	 *	\return
	 */
	inline bool	inParallelSection() const{
		Beagle_StackTraceBeginM();
		return (omp_in_parallel()>0)?true:false;
		Beagle_StackTraceEndM("unsigned int OpenMP::inParallelSection() const");
	}
開發者ID:splodginald,項目名稱:MPI-PACC-OpenBeagle,代碼行數:8,代碼來源:OpenMP.hpp

示例12: getNumProcs

	/*!	\brief Ask OpenMP how many processors are available.
	 *	\return The number of processors on this machine.
	 */
	inline unsigned int getNumProcs() const{
		Beagle_StackTraceBeginM();
		return omp_get_num_procs();
		Beagle_StackTraceEndM("unsigned int OpenMP::getNumProcs() const");
	}
開發者ID:splodginald,項目名稱:MPI-PACC-OpenBeagle,代碼行數:8,代碼來源:OpenMP.hpp

示例13: setLineNumber

	/*!
	 *  \brief Set the line number in the file where the exception is detected (throwed).
	 *  \param inLineNumber Line number in the file where the exception is detected.
	 */
	inline void setLineNumber(unsigned int inLineNumber)
	{
		Beagle_StackTraceBeginM();
		mLineNumber = inLineNumber;
		Beagle_StackTraceEndM("void TargetedException::setLineNumber(unsigned int inLineNumber)");
	}
開發者ID:splodginald,項目名稱:MPI-PACC-OpenBeagle,代碼行數:10,代碼來源:TargetedException.hpp

示例14: getNumberOfEmigrants

	/*!
	 *  \brief Return number of emigrants available in current migration buffer.
	 *  \return Number of emigrants available in current migration buffer.
	 */
	inline unsigned int getNumberOfEmigrants() const
	{
		Beagle_StackTraceBeginM();
		return mEmigrants.size();
		Beagle_StackTraceEndM("unsigned int MigrationBuffer::getNumberOfEmigrants() const");
	}
開發者ID:splodginald,項目名稱:MPI-PACC-OpenBeagle,代碼行數:10,代碼來源:MigrationBuffer.hpp

示例15: Beagle_StackTraceBeginM

/*!
 *  \brief  Test whether an unsigned long is less than, or equal to another.
 *  \param  inLeftULong  Left unsigned long compared.
 *  \param  inRightULong Right unsigned long compared.
 *  \return True if left unsigned long is less than, or equal to the right one, false if not.
 *  \par Note:
 *    The operator is defined relatively to the functions isLess and isEqual of Beagle::ULong.
 */
inline bool operator<=(const Beagle::ULong& inLeftULong, const Beagle::ULong& inRightULong)
{
	Beagle_StackTraceBeginM();
	return ( inLeftULong.isLess(inRightULong) || inLeftULong.isEqual(inRightULong) );
	Beagle_StackTraceEndM("bool operator<=(const ULong& inLeftULong, const ULong& inRightULong)");
}
開發者ID:splodginald,項目名稱:MPI-PACC-OpenBeagle,代碼行數:14,代碼來源:ULong.hpp


注:本文中的Beagle_StackTraceBeginM函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。