Sha256: 22eaf044e50f4e535600253269a0a88362be67f3652bf7c5a5936c71b7522a16

Contents?: true

Size: 867 Bytes

Versions: 22

Compression:

Stored size: 867 Bytes

Contents

// -*- c++ -*-
#pragma once
#ifndef __REFLEX_SRC_SELECTOR_H__
#define __REFLEX_SRC_SELECTOR_H__


#include <memory>
#include "reflex/selector.h"


namespace Reflex
{


	class SelectorPtr : public std::unique_ptr<Selector>
	{

		public:

			void    set_name (const char* name);

			const char* name () const;

			void                 add_tag (const char* tag);

			void              remove_tag (const char* tag);

			void               clear_tags ();

			bool                 has_tag (const char* tag) const;

			Selector::      iterator tag_begin ();

			Selector::const_iterator tag_begin () const;

			Selector::      iterator tag_end ();

			Selector::const_iterator tag_end () const;

			void            set_selector (const Selector& selector);

			      Selector& selector ();

			const Selector& selector () const;

	};// SelectorPtr


}// Reflex


#endif//EOH

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
reflexion-0.3 src/selector.h
reflexion-0.2.1 src/selector.h
reflexion-0.2 src/selector.h
reflexion-0.1.57 src/selector.h
reflexion-0.1.56 src/selector.h
reflexion-0.1.55 src/selector.h
reflexion-0.1.54 src/selector.h
reflexion-0.1.53 src/selector.h
reflexion-0.1.52 src/selector.h
reflexion-0.1.51 src/selector.h
reflexion-0.1.50 src/selector.h
reflexion-0.1.49 src/selector.h
reflexion-0.1.48 src/selector.h
reflexion-0.1.47 src/selector.h
reflexion-0.1.46 src/selector.h
reflexion-0.1.45 src/selector.h
reflexion-0.1.44 src/selector.h
reflexion-0.1.43 src/selector.h
reflexion-0.1.42 src/selector.h
reflexion-0.1.41 src/selector.h