diff options
author | 2011-02-26 22:52:04 +0000 | |
---|---|---|
committer | 2011-02-26 22:52:04 +0000 | |
commit | 9338f116a900bb17271b947a528ba4c2e67cadde (patch) | |
tree | 65638d87f6c7bb85968aeeaddd6b7f8883592123 /doc | |
parent | 48654c330e14db70c0a8b3736b77ea2738382edd (diff) | |
download | paludis-9338f116a900bb17271b947a528ba4c2e67cadde.tar.gz paludis-9338f116a900bb17271b947a528ba4c2e67cadde.tar.xz |
Remove RepositoryMaskInfo keys
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/cplusplus/examples/example_metadata_key.cc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/doc/api/cplusplus/examples/example_metadata_key.cc b/doc/api/cplusplus/examples/example_metadata_key.cc index 2493c2555..1d95145c1 100644 --- a/doc/api/cplusplus/examples/example_metadata_key.cc +++ b/doc/api/cplusplus/examples/example_metadata_key.cc @@ -116,32 +116,6 @@ namespace * it has its own examples. */ } - void visit(const MetadataValueKey<std::shared_ptr<const RepositoryMaskInfo> > & key) - { - cout << indent << left << setw(30) << " Class:" << " " << - "MetadataValueKey<std::shared_ptr<const RepositoryMaskInfo> >" << endl; - - /* MetadataValueKey<std::shared_ptr<const RepositoryMaskInfo> >::value() - * can return a zero pointer. Other keys can't. */ - if (key.value()) - { - cout << indent << left << setw(30) << " Mask file:" << " " << key.value()->mask_file() << endl; - /* Comment looks best if it's outputted over multiple lines, - * as that's how it tends to be stored in package.mask. */ - cout << indent << left << setw(30) << " Comment:" << " "; - bool first(true); - for (Sequence<std::string>::ConstIterator i(key.value()->comment()->begin()), - i_end(key.value()->comment()->end()) ; - i != i_end ; ++i) - { - if (! first) - cout << indent << left << setw(30) << " ..." << " "; - cout << *i << endl; - first = false; - } - } - } - void visit(const MetadataSpecTreeKey<PlainTextSpecTree> & key) { cout << indent << left << setw(30) << " Class:" << " " << "MetadataSpecTreeKey<PlainTextSpecTree>" << endl; |