mark quiet_load() and quiet_save() as deprecated
This commit is contained in:
@@ -398,13 +398,13 @@ class SpMat : public SpBase< eT, SpMat<eT> >
|
||||
inline arma_cold bool load(const csv_name& spec, const file_type type = csv_ascii);
|
||||
inline arma_cold bool load( std::istream& is, const file_type type = arma_binary);
|
||||
|
||||
inline arma_cold bool quiet_save(const std::string name, const file_type type = arma_binary) const;
|
||||
inline arma_cold bool quiet_save(const csv_name& spec, const file_type type = csv_ascii) const;
|
||||
inline arma_cold bool quiet_save( std::ostream& os, const file_type type = arma_binary) const;
|
||||
arma_deprecated inline bool quiet_save(const std::string name, const file_type type = arma_binary) const;
|
||||
arma_deprecated inline bool quiet_save(const csv_name& spec, const file_type type = csv_ascii) const;
|
||||
arma_deprecated inline bool quiet_save( std::ostream& os, const file_type type = arma_binary) const;
|
||||
|
||||
inline arma_cold bool quiet_load(const std::string name, const file_type type = arma_binary);
|
||||
inline arma_cold bool quiet_load(const csv_name& spec, const file_type type = csv_ascii);
|
||||
inline arma_cold bool quiet_load( std::istream& is, const file_type type = arma_binary);
|
||||
arma_deprecated inline bool quiet_load(const std::string name, const file_type type = arma_binary);
|
||||
arma_deprecated inline bool quiet_load(const csv_name& spec, const file_type type = csv_ascii);
|
||||
arma_deprecated inline bool quiet_load( std::istream& is, const file_type type = arma_binary);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -4985,10 +4985,9 @@ SpMat<eT>::load(std::istream& is, const file_type type)
|
||||
|
||||
|
||||
|
||||
//! save the matrix to a file, without printing any error messages
|
||||
template<typename eT>
|
||||
arma_deprecated
|
||||
inline
|
||||
arma_cold
|
||||
bool
|
||||
SpMat<eT>::quiet_save(const std::string name, const file_type type) const
|
||||
{
|
||||
@@ -4999,10 +4998,9 @@ SpMat<eT>::quiet_save(const std::string name, const file_type type) const
|
||||
|
||||
|
||||
|
||||
//! save the matrix to a stream, without printing any error messages
|
||||
template<typename eT>
|
||||
arma_deprecated
|
||||
inline
|
||||
arma_cold
|
||||
bool
|
||||
SpMat<eT>::quiet_save(std::ostream& os, const file_type type) const
|
||||
{
|
||||
@@ -5013,10 +5011,9 @@ SpMat<eT>::quiet_save(std::ostream& os, const file_type type) const
|
||||
|
||||
|
||||
|
||||
//! load a matrix from a file, without printing any error messages
|
||||
template<typename eT>
|
||||
arma_deprecated
|
||||
inline
|
||||
arma_cold
|
||||
bool
|
||||
SpMat<eT>::quiet_load(const std::string name, const file_type type)
|
||||
{
|
||||
@@ -5027,10 +5024,9 @@ SpMat<eT>::quiet_load(const std::string name, const file_type type)
|
||||
|
||||
|
||||
|
||||
//! load a matrix from a stream, without printing any error messages
|
||||
template<typename eT>
|
||||
arma_deprecated
|
||||
inline
|
||||
arma_cold
|
||||
bool
|
||||
SpMat<eT>::quiet_load(std::istream& is, const file_type type)
|
||||
{
|
||||
|
||||
@@ -217,11 +217,11 @@ class field
|
||||
inline arma_cold bool load( std::istream& is, const file_type type = auto_detect);
|
||||
|
||||
|
||||
inline arma_cold bool quiet_save(const std::string name, const file_type type = arma_binary) const;
|
||||
inline arma_cold bool quiet_save( std::ostream& os, const file_type type = arma_binary) const;
|
||||
arma_deprecated inline bool quiet_save(const std::string name, const file_type type = arma_binary) const;
|
||||
arma_deprecated inline bool quiet_save( std::ostream& os, const file_type type = arma_binary) const;
|
||||
|
||||
inline arma_cold bool quiet_load(const std::string name, const file_type type = auto_detect);
|
||||
inline arma_cold bool quiet_load( std::istream& is, const file_type type = auto_detect);
|
||||
arma_deprecated inline bool quiet_load(const std::string name, const file_type type = auto_detect);
|
||||
arma_deprecated inline bool quiet_load( std::istream& is, const file_type type = auto_detect);
|
||||
|
||||
|
||||
// for container-like functionality
|
||||
|
||||
@@ -1936,8 +1936,8 @@ field<oT>::load(std::istream& is, const file_type type)
|
||||
|
||||
|
||||
template<typename oT>
|
||||
arma_deprecated
|
||||
inline
|
||||
arma_cold
|
||||
bool
|
||||
field<oT>::quiet_save(const std::string name, const file_type type) const
|
||||
{
|
||||
@@ -1949,8 +1949,8 @@ field<oT>::quiet_save(const std::string name, const file_type type) const
|
||||
|
||||
|
||||
template<typename oT>
|
||||
arma_deprecated
|
||||
inline
|
||||
arma_cold
|
||||
bool
|
||||
field<oT>::quiet_save(std::ostream& os, const file_type type) const
|
||||
{
|
||||
@@ -1962,8 +1962,8 @@ field<oT>::quiet_save(std::ostream& os, const file_type type) const
|
||||
|
||||
|
||||
template<typename oT>
|
||||
arma_deprecated
|
||||
inline
|
||||
arma_cold
|
||||
bool
|
||||
field<oT>::quiet_load(const std::string name, const file_type type)
|
||||
{
|
||||
@@ -1975,8 +1975,8 @@ field<oT>::quiet_load(const std::string name, const file_type type)
|
||||
|
||||
|
||||
template<typename oT>
|
||||
arma_deprecated
|
||||
inline
|
||||
arma_cold
|
||||
bool
|
||||
field<oT>::quiet_load(std::istream& is, const file_type type)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user