#include <iostream>
#include <vector>
#include <string>
class KwakiutlArtifact {
public:
KwakiutlArtifact(const std::string& name, const std::std::string& type, int age)
: name(name), type(type), age(age) {}
void displayArtifact() const {
std::cout << "Artifact: " << name << std::endl;
std::cout << "Type: " << type << std::endl;
std::cout << "Age: " << age << " years" << std::endl;
}
private:
std::string name;
std::string type;
int age;
};
int main() {
std::vector<KwakiutlArtifact> artifacts;
// Create Kwakiutl artifacts
KwakiutlArtifact artifact1("Ceremonial Mask", "Wood Carving", 150);
KwakiutlArtifact artifact2("Totem Pole", "Sculpture", 200);
KwakiutlArtifact artifact3("Cedar Basket", "Basketry", 100);
// Add artifacts to the vector
artifacts.push_back(artifact1);
artifacts.push_back(artifact2);
artifacts.push_back(artifact3);
// Display information about each artifact
for (const auto& artifact : artifacts) {
artifact.displayArtifact();
std::cout << std::endl;
}
return 0;
}