<commit_before>/*
 *   Copyright 2012 - 2013 <NAME>
 *
 *   Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *   You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *   Unless required by applicable law or agreed to in writing, software
 *   distributed under the License is distributed on an "AS IS" BASIS,
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *   See the License for the specific language governing permissions and
 *   limitations under the License.
 */


#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


/**
 @brief Options for typing of the stored view properties.
 */
typedef NS_ENUM (int32_t, UIViewSubviewStoredProperty) 
{
	/**
	 @brief The option for indicating to store view frame.
	 */
	UIViewSubviewStoredPropertyFrame = 1,
	

	/**
	 @brief The option for indicating to store view tag.
	 */
	UIViewSubviewStoredPropertyTag = 1 << 1,
	
	
	/**
	 @brief The option for indicating to store view hidden state.
	 */
	UIViewSubviewStoredPropertyHidden = 1 << 2,
	
	
	/**
	 @brief The option for indicating to store view alpha value.
	 */
	UIViewSubviewStoredPropertyAlpha = 1 << 3,
	
	
	/**
	 @brief The option for indicating to store view autoresizing mask.
	 */
	UIViewSubviewStoredPropertyAutoresizingMask = 1 << 4
};


/**
 @brief Options for typing of the store policy.
 */
typedef NS_ENUM (int32_t, UIViewSubviewStoreStatePolicy) 
{
	/**
	 @brief With this option view properties stores only ones.
	 */
	UIViewSubviewStoreStatePolicyOnce = 1,
	
	
	/**
	 @brief With this option view properties rewrites each time.
	 */
	UIViewSubviewStoreStatePolicyEveryTimeRewrite = 1 << 1,
};


/**
 @brief Class for storing view subviews properties.
 @detailed Storing view subviews properties for horizontal and vertial orientations. You can manually setup view and store it's parameters. Usefull for multiple interface orientations with custom layout for each type of the orientation.
 */
@interface UIViewSubviewsStoredProperties : NSObject


/**
 @brief Get options of stored parameters.
 @return An integer bit mask with stored parameters for each subview.
 */
- (UIViewSubviewStoredProperty) storedProperties;


/**
 @brief Get option of the store policy.
 @return On of the UIViewSubviewStoreStatePolicy values.
 */
- (UIViewSubviewStoreStatePolicy) storeStatePolicy;


/**
 @brief Set store parameters policy.
 @detailed Set store parameters policy before storing states.
 @param newPolicy The integer bit mask with stored parameters.
 @example [... setStoreStatePolicy:UIViewSubviewStoredPropertyFrame | UIViewSubviewStoredPropertyTag];
 */
- (void) setStoreStatePolicy:(const UIViewSubviewStoreStatePolicy) newPolicy;


/**
 @brief Store horizontal subviews parameters.
 */
- (void) storeHorizontal;


/**
 @brief Store vertical subviews parameters.
 */
- (void) storeVertical;


/**<commit_msg>Strings and path's objects documentation<commit_after>/*
 *   Copyright 2012 - 2013 <NAME>
 *
 *   Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *   You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *   Unless required by applicable law or agreed to in writing, software
 *   distributed under the License is distributed on an "AS IS" BASIS,
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *   See the License for the specific language governing permissions and
 *   limitations under the License.
 */


#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


/**
 @brief Options for typing of the stored view properties.
 */
typedef NS_ENUM (int32_t, UIViewSubviewStoredProperty) 
{
	/**
	 @brief The option for indicating to store view frame.
	 */
	UIViewSubviewStoredPropertyFrame = 1,
	

	/**
	 @brief The option for indicating to store view tag.
	 */
	UIViewSubviewStoredPropertyTag = 1 << 1,
	
	
	/**
	 @brief The option for indicating to store view hidden state.
	 */
	UIViewSubviewStoredPropertyHidden = 1 << 2,
	
	
	/**
	 @brief The option for indicating to store view alpha value.
	 */
	UIViewSubviewStoredPropertyAlpha = 1 << 3,
	
	
	/**
	 @brief The option for indicating to store view autoresizing mask.
	 */
	UIViewSubviewStoredPropertyAutoresizingMask = 1 << 4
};


/**
 @brief Options for typing of the store policy.
 */
typedef NS_ENUM (int32_t, UIViewSubviewStoreStatePolicy) 
{
	/**
	 @brief With this option view properties stores only ones.
	 */
	UIViewSubviewStoreStatePolicyOnce = 1,
	
	
	/**
	 @brief With this option view properties rewrites each time.
	 */
	UIViewSubviewStoreStatePolicyEveryTimeRewrite = 1 << 1,
};


/**
 @brief Class for storing view subviews properties.
 @detailed Storing view subviews properties for horizontal and vertial orientations. You can manually setup view and store it's parameters. Usefull for multiple interface orientations with custom layout for each type of the orientation.
 */
@interface UIViewSubviewsStoredProperties : NSObject


/**
 @brief Get options of stored parameters.
 @return An integer bit mask with stored parameters for each subview.
 */
- (UIViewSubviewStoredProperty) storedProperties;


/**
 @brief Get option of the store policy.
 @return One of the UIViewSubviewStoreStatePolicy values.
 */
- (UIViewSubviewStoreStatePolicy) storeStatePolicy;


/**
 @brief Set store parameters policy.
 @detailed Set store parameters policy before storing states.
 @param newPolicy The integer bit mask with stored parameters.
 @example [... setStoreStatePolicy:UIViewSubviewStoredPropertyFrame | UIViewSubviewStoredPropertyTag];
 */
- (void) setStoreStatePolicy:(const UIViewSubviewStoreStatePolicy) newPolicy;


/**
 @brief Store horizontal subviews parameters.
 */
- (void) storeHorizontal;


/**
 @brief Store vertical subviews parameters.
 */
- (void) storeVertical;


/**
{'fraction_non_alphanumeric': 0.08239014647137151, 'fraction_numerical': 0.009320905459387484, 'mean_word_length': 3.9133278822567457, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6527181', 'n_tokens_mistral': 1743, 'n_tokens_neox': 1607, 'n_words': 638}