TeamTypeInformation.h revision fce4895d
1/*
2 * Copyright 2011-2014, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef TEAM_TYPE_INFORMATION_H
6#define TEAM_TYPE_INFORMATION_H
7
8
9#include <Referenceable.h>
10#include <SupportDefs.h>
11
12
13class BString;
14class Type;
15class TypeLookupConstraints;
16
17
18class TeamTypeInformation : public BReferenceable {
19public:
20	virtual						~TeamTypeInformation();
21
22
23	virtual	status_t			LookupTypeByName(const BString& name,
24									const TypeLookupConstraints& constraints,
25									Type*& _type) = 0;
26									// returns reference
27
28	virtual	bool				TypeExistsByName(const BString& name,
29									const TypeLookupConstraints& constraints)
30									= 0;
31};
32
33
34#endif	// TEAM_TYPE_INFORMATION_H
35