Chris@49: // Copyright (C) 2008-2011 NICTA (www.nicta.com.au) Chris@49: // Copyright (C) 2008-2011 Conrad Sanderson Chris@49: // Chris@49: // This Source Code Form is subject to the terms of the Mozilla Public Chris@49: // License, v. 2.0. If a copy of the MPL was not distributed with this Chris@49: // file, You can obtain one at http://mozilla.org/MPL/2.0/. Chris@49: Chris@49: Chris@49: //! \addtogroup BaseCube Chris@49: //! @{ Chris@49: Chris@49: Chris@49: Chris@49: //! Analog of the Base class, intended for cubes Chris@49: template Chris@49: struct BaseCube Chris@49: { Chris@49: arma_inline const derived& get_ref() const; Chris@49: Chris@49: inline void print(const std::string extra_text = "") const; Chris@49: inline void print(std::ostream& user_stream, const std::string extra_text = "") const; Chris@49: Chris@49: inline void raw_print(const std::string extra_text = "") const; Chris@49: inline void raw_print(std::ostream& user_stream, const std::string extra_text = "") const; Chris@49: }; Chris@49: Chris@49: Chris@49: Chris@49: //! @}