Beispiel #1
0
 /// \fn public AKN_Status(bool _success)
 ///
 /// \brief  Constructor, logs true if the operation was a success, false if it failed..
 ///
 /// \author Michele
 /// \date   10/06/2011
 ///
 /// \param  _success
 ///
 public AKN_Status(bool _success)
 {
     m_log = "";
     if (_success)
     {
         _m_Status = eStatusCode.kSuccess;
     }
     else
     {
         _m_Status = eStatusCode.kFailure;
     }
 }
Beispiel #2
0
        /// \fn public AKN_Status(eStatusCode _errorCode)
        ///
        /// \brief  Constructor.
        ///
        /// \author Michele
        /// \date   10/06/2011
        ///
        /// \param  _errorCode  The error code.

        public AKN_Status(eStatusCode _errorCode)
        {
            _m_Status = _errorCode;
        }