~ubuntu-branches/ubuntu/vivid/juju-mongodb/vivid-proposed

« back to all changes in this revision

Viewing changes to src/mongo/db/namespacestring.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-04-30 08:59:21 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140430085921-jm4pr3gsz8z068so
Tags: 2.4.10-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 
47
47
        bool isSystem() const { return strncmp(coll.c_str(), "system.", 7) == 0; }
48
48
        bool isCommand() const { return coll == "$cmd"; }
 
49
        bool isSystemDotIndexes() const { return strncmp(coll.c_str(), "system.indexes", 14) == 0; }
49
50
 
50
51
        /**
51
52
         * @return true if the namespace is valid. Special namespaces for internal use are considered as valid.