| 
						
						
							
								
							
						
						
					 | 
					@ -2,8 +2,10 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					#include <string> | 
					 | 
					 | 
					#include <string> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					#include <cstdint> | 
					 | 
					 | 
					#include <cstdint> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					#include "raw_code.h" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					#include "short_code.h" | 
					 | 
					 | 
					#include "short_code.h" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					class RawCode; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					class ShortCode; | 
					 | 
					 | 
					class ShortCode; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					class CommonCode { | 
					 | 
					 | 
					class CommonCode { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -12,12 +14,12 @@ public: | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    static bool check(uint64_t common_code); | 
					 | 
					 | 
					    static bool check(uint64_t common_code); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    static CommonCode unsafe_create(uint64_t code); | 
					 | 
					 | 
					    static CommonCode unsafe_create(uint64_t code); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    // TODO: to raw code function
 | 
					 | 
					 | 
					    RawCode to_raw_code() const; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    ShortCode to_short_code() const; | 
					 | 
					 | 
					    ShortCode to_short_code() const; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    std::string to_string(bool shorten = false) const; | 
					 | 
					 | 
					    std::string to_string(bool shorten = false) const; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    explicit CommonCode(uint64_t common_code); | 
					 | 
					 | 
					    explicit CommonCode(uint64_t common_code); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    // TODO: init with const RawCode&
 | 
					 | 
					 | 
					    explicit CommonCode(const RawCode &raw_code); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    explicit CommonCode(const ShortCode &short_code); | 
					 | 
					 | 
					    explicit CommonCode(const ShortCode &short_code); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    explicit CommonCode(const std::string &common_code_str); | 
					 | 
					 | 
					    explicit CommonCode(const std::string &common_code_str); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |