~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/error.h

  • Committer: Mark Atwood
  • Date: 2011-08-17 19:14:47 UTC
  • mfrom: (2385.3.17 rf)
  • Revision ID: me@mark.atwood.name-20110817191447-h86yzddvycd0xmof
mergeĀ lp:~olafvdspek/drizzle/refactor6

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
/*
42
42
 * Provides a mapping from the error enum values to std::strings.
43
43
 */
44
 
class ErrorMap
 
44
class ErrorMap : boost::noncopyable
45
45
{
46
46
public:
47
47
  typedef std::pair<std::string, std::string> value_type;
57
57
 
58
58
  static const ErrorMessageMap& get_error_message_map();
59
59
private:
60
 
  // Disable copy and assignment.
61
 
  ErrorMap(const ErrorMap &e);
62
 
  ErrorMap& operator=(const ErrorMap &e);
63
 
 
64
60
  ErrorMessageMap mapping_;
65
61
};
66
62